Merge pull request #1918 from libm/master

Move aws key id settings into boto config file.
Support for 'single-instance' when app is started in folder

Fix #515
Flush stdout to inform buildbot that it is not hang.