move declaration of publicFieldsInfo and getFieldInfo into RestFulEntityInterface

Hi, 

I am trying to use restful to implement non-entity-based rest-handlers. I think the interface-declaration is a bit misleading, as publicFields and getFieldInfo look like an implementation-detail of RestFulEntityInterfaces.

Hope, you'll find this pull request valuable.

cheers,

Stephan