Tiny fixes in schema generation code
Implemented proper view schemas

Also, preliminary API for dropping SQL functions.
Added views for entities module
Fixed generation of CreateView
Added views for geo module
Fixed literal handling for NPBoolean
Added views for domains module