1) added support for JSONObj and JSONArr cast of json attributes; 2) finished first version of the rest library
1) added project for the REST daemon executable