Add global feature() to PHP, App.feature() to JS, fixes T172

Summary: Uses `features` config to give boolean status for any feature name.

Test Plan: Try it.

Reviewers: rjmackay

Reviewed By: rjmackay

Maniphest Tasks: T172

Differential Revision: https://phabricator.ushahidi.com/D48