Fix bug and tests on HHVM
bug #31 Fix bug and tests on HHVM (jeremy-derusse)

This PR was merged into the master branch.

Discussion
----------

Fix bug and tests on HHVM

Also replace `\Phar::running()` by `0 === stripos(__FILE__, 'phar://')`
because it's not supported in hhvm: http://docs.hhvm.com/manual/en/phar.running.php

Commits
-------

cc8bcdb Fix bug and tests on HHVM
Fixed some minor typos and formatting issues
minor #27 Fixed some minor typos and formatting issues (javiereguiluz)

This PR was squashed before being merged into the master branch (closes #27).

Discussion
----------

Fixed some minor typos and formatting issues

Commits
-------

5787481 Fixed some minor typos and formatting issues
Ask confirmation for untrsuted resources
Ask for displaying the resource