Moved build logic to Build class
Added tag replacement to path names

Any all-caps instance of a tag in a path gets replaced with the
relevant tag.

For the project “TestProject” /src/NAME turns into /src/TestProject.
Coding standards fixes
Phar packaging setup
Ignore the phar file
Merge pull request #3 from tedivm/refactor

Refactor