Make REST API for users incremental with plugins
At the moment there is no way to add custom values to REST api output for users. This patch adds a helper function to show.api and index.api, which can be overwritten by plugins to add new entries.
E.g. Some plugins like redmine_git_hosting overwrites theses templates, because there is no other way at the moment. Problem is, if two or more plugins wants to add values.