Remove buildFromFile and split schema and options

- buildFromFile is unused and convolutes the API.
- the schema and options come from different sources and control
different things so don't conflate the 2 concepts
Remove obsolete reverse lookup helpers
Remove unneeded getSchema
Dont expose format path on root
Remove schemapath from config
Decouple resource from api that created it
Use assert chai API in build specs
Allow reconfiguration of the root api