Support calling numpy.{shape,size,dims}

It is now possible to call numpy.shape in addition to the attribute
version.
Do not include exception.hpp directly when throwing a given exception

Exception translation mechanism requires the include of the specific
exception header to work correctly.