implementation of data resources

started putting together RESTful resources for
types
implementation of data resources

tested out type RESTful resource, initial simple
implementation working OK, storing and getting fine
type resource build

built and tested the Type resource endpoint and
data model. added lots of methods to the data
model to do the checking work for types
relatively simple get/put methods but elegant handling
of most situations. not implementing POST
object resource build

building up the object resources
issues with storing the object - generic embedded
documents might not be a runner after all
mongoengine cant convert a random dict to an embedded
document
object resource build

temporarily sorted issues with details storage
storing as normal dict field for now
will see how that goes, may be sufficient for what
we want to do
view cleanup

tidy up api endpoints and introduce version control
cleanup a few imports
build action resource

started building the action res
improved error handling

handle of requests without api identifier
fixed put/post setup for objects api

split out the put/post operations into what they should
be (ie update/add)
expanded types model

expanded to allow for object and
action types seperately. introducted an optional
mapper list for each type which can be used to pick
which types of objects/actions an object/action
works with
expanded types model

fixed the changes I broke on the types model
put/post now working ok
expanded types model

removed debugging lines
expanded Actions api

added in features for querying actions
various other changes for readability and error
message improvements
layout change

split the RESTful resources into their own files
files with them all together were looking a bit long
layout change

tidied up abort messages for consistency
bigfixes and cleanup
fixed broken types add and update API
fixed broken objects add and update API
adding to the actions resource

actions setup still incomplete