Tests and placed file init in files.coffee

Added Travis Cl and a badge for the readme. Also did some minor
refactoring to make testing a bit easier and some nicer to read code.

Tests exist for:
 - config
 - dimensions
 - first-buffer
 - project
 - save prompt