API Ninja Blocks de base

API Ninja Blocks de base. Traduction des attributs Ninja blocks en µCtrl
selon l'existant.
Adapted Bobby's branch to NinjaBlock lib
Implemented the device.js file. Created the platform.js file and implemented
route.js
insert platform.js file
Restructured REST api
Added uctrl protocol interface example in task.js and others little changes

I will continue today...
Implemented the mongodb schema in USystem.js
Tests and little changes. I will begin CRUD functions tomorrow
little bug
I had some difficulties with mongoose...

I had some difficulties with mongoose and subdocuments. After few
learning and tests, i'm now able to continue. I commit my changes but i
will need to work this evening to finish CRUD methods.
Basic CRUD functions
Commit for models changes

-New way for require and embed models.
-Use embedded documents.
-Corrected the models files which needed to be called in order.
-CRUD functions transfered to models files
-All is operational, except the updates functions.
First draft of models schemas map from Ninja Blocks

-all and show functions
-We will need to add some attributes to our protocol.
Restructured models and added /users
Merge branch 'restapi_restructured' into restapi
Added DB seeds using Gulp and data.json from Ben
Added cleanJson plugin to remove everything that starts with _
Improved models updates
Models fromNinja and toNinja functions

-First draft
-For a cleaner way, we will need to segregate ninja ids from our ids
Indentations corrected.

Indentations corrected.