Deep refactoring
TilesProvider* classes were simplified. Simple tests were added.
Datasource preprocessing was added
Dynamic queries
Remove a debug message
Tile cache management was refactored.
Add a new field referencing SQL query files.
Provider caching/validation/invalidation was added
Test updates
Experimenting
Mitgration to when.js
Merge branch 'exp-15_05_2014' into exp-broken-17_05_2014

Conflicts:
	tests/TestProjectLoader.js
	tests/TestTilesProvider.js
	tilepin-loader.js
	tilepin-provider.js
Intermediate refactoring step
Code refactoring
Invalidation was fixed
Fixing CartoCSS generation
Detecting dynamic layers by a field in the configuration properties