Changed from NEDB to TingoDB and add dynamic model declaration using the same pattern we have elsewhere

We now use Mongoose to manage your persistence which is a big step forward compared to the basic collection management we had with NEDB. Full validation, schema, etc.