Adding support do disable account registration

* Adding new configuration variable, see `global.inc.dist.php`
* If you are not able to register anymore check the config var is
* set

Requested in and fixes #150
Merge pull request #176 from TheSerapher/issue-150

Adding support do disable account registration