Refactored the builder hasher

- now it adds the hash link to the download file, as it used to be
- improved error handling in the builderHash
- use a separate config file for the locations, so you can specify that
  in dev and production.
Make core/index not executable.
Move the BuilderHash from middelware to lib.
Rename middleware/buildHash - fix when the hash was not in the database

Fix when there are no results for loadHash
Merge pull request #1 from arian/restore-hash

Restore hash