added some unittest, modified templates to use new pybossa.js api, starting to build tt3