Modified the build to save the git version into the distribution
tarball.
Modified to work correctly on both distributions and repositories.

Added Perl Critic.
Added Try::Tiny and Test::Perl::Critic to requires.
Added missing semicolon after catch block.
Run ./Build test explicitly.
Merge pull request #4 from keithj/devel

Modified the build to save the git version into the distribution