fabfile: some refactoring, also change directory permissions
add tornado to requirements
some changes to run.py, particularly around db creation