Fortran API: inquire the shape of a variable

Created by: pnorbert

This functionality is missing. Only name and type can be inquired.