Added try except to client

This way, when we terminate the client, we don't get the exception
error anymore.
Expanded data model

We added Projects, Sequences, Shots, Frames and Jobs to the data model.
Beginning of the project API

Also refactored the dictionary casting for values and filters.
Using proper JSON loading on input
Expanded functionality on data model

* started implementation of sequence and shot objects and methods
* fixed AJAX JSON strings! Now it should work for a while