Use a Hash to store decorated_routes
This makes route lookup much faster when there are many routes defined.
We currently have 1149 API routes defined in gitlab-org/gitlab
so iterating over the whole list until we find a route can be slow.
With this new implementation, we only check defined routes that match the helper name.
Edited by Heinrich Lee Yu