bootstrap changes
cut the stuff for optimization and perhaps add early failure?
even the early return, ensure config is not null to set template custom, and add fast finish to travis
a file not found exception is not catched but a runtime exception
fix bug displaying the right org or username owner of repo
Merge pull request #273 from cordoval/273-call-to-a-member-function-has-on-a-non-object-in-helper-templatehelper-php-on-line-66

merge #273 Call to a member function has() on a non-object in Helper/TemplateHelper.php on line 66 (cordoval)

This PR was merged into gushphp:master branch.

Discussion
----------

Just installed gush and got the following error:

```bash
PHP Fatal error:  Call to a member function has() on a non-object in phar:///usr/local/bin/gush/src/Helper/TemplateHelper.php on line 66
PHP Stack trace:
PHP   1. {main}() /usr/local/bin/gush:0
PHP   2. require() /usr/local/bin/gush:10
PHP   3. Gush\Application->__construct() phar:///usr/local/bin/gush/bin/gush:86
PHP   4. Symfony\Component\Console\Application->addCommands() phar:///usr/local/bin/gush/src/Application.php:119
PHP   5. Gush\Application->add() phar:///usr/local/bin/gush/vendor/symfony/console/Symfony/Component/Console/Application.php:384
PHP   6. Symfony\Component\EventDispatcher\EventDispatcher->dispatch() phar:///usr/local/bin/gush/src/Application.php:144
PHP   7. Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() phar:///usr/local/bin/gush/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php:53
PHP   8. call_user_func() phar:///usr/local/bin/gush/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php:164
PHP   9. Gush\Subscriber\TemplateSubscriber->decorateDefinition() phar:///usr/local/bin/gush/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php:164
PHP  10. Gush\Helper\TemplateHelper->getCustomTemplate() phar:///usr/local/bin/gush/src/Subscriber/TemplateSubscriber.php:53

Fatal error: Call to a member function has() on a non-object in phar:///usr/local/bin/gush/src/Helper/TemplateHelper.php on line 66

```

I haven't gone deep into the code but it seems related to the configuration object.

I tried to install it both via composer and via phar and I got the same error.

I'm currently on a mac with php 5.5.3

Commits
-------

15e36ec79eb5bc7b430e86c2d5f6711e85bb60c4 bootstrap changes (cordoval)
df2c015e2076662e3905b912beb7f07c340c4289 cut the stuff for optimization and perhaps add early failure? (cordoval)
930b488a609d271045d3474aad6d0764f0ebe37c even the early return, ensure config is not null to set template custom, and add fast finish to travis (cordoval)
3e5d2c235b8b7f7890e7b29d4f9859c55a8f71a6 a file not found exception is not catched but a runtime exception (cordoval)
3ea1e3092e1bf59e343db1ead465fca426df0f86 fix bug displaying the right org or username owner of repo (cordoval)