Refactored pagebuilders.
Resolved #53 - added support for __template__.js file.
Fixed: template inclusion on Windows.
Fixed database module tests on Windows.