adding more documentation and refactoring some code to use Deferred objects instead of callbacks
removed config file
fixing some bugs like starting new iteration before ending the old one; building DB connection string with taking into account what username and password may be empty
adding init.d file and added documentation for ubuntu
Merge pull request #2 from dmitrygorbenko/master

Added more documentation and refactoring some code