Improved jinja template functions.
Add more tests.
Improved util functions.
Fix django 1.7 compatibility on run tests.
Add badges to readme.
Add travis config file.