Cleaned up utils.views to increase performance when fetching single objects from the database for a view. Fixed #1378.
Merge pull request #1379 from normanjaeckel/FixGetObject

Cleaned up utils.views (especially get_object() method).
Hide motions from non staff users in early workflow state.