added some basic tests, refactorings, version 0.5
Merge branch 'master' of https://github.com/ncri/ajaxify_rails