Refactoring and testing tools.
Using py.test to run automatic test cases.
Merge branch 'master' of github.com:OpenScienceFramework/citations