Updating travis file.
Moving test files one dir up.
Upgrading `mocha` and `mocha-phantomjs`
Moving ignore rules to root .gitignore file.
Integrating makefiles into one simplified version.