adapting unit tests

minor code fixes
unit tests WIP
tests reorg
test WIP
sql api test added
layer tests added
docs updated
ccss docs updated
Update cartocss.md
Update dataformat.md
new build
Merge branch 'develop' into gh-pages