Issue 1124: Move view_execution_permitted back to being a module function,
            the only Authentication API available on the pyramid.request.Request object should
            be has_permission.  This is because view_execution_permitted only works with traversal (and not routes).
	    Correct documentation string for the has_permission b/c wrapper that incorrectly referenced its wrapping target.
Merge branch 'issue1124' into issue1165

Conflicts:
	pyramid/security.py
	pyramid/tests/test_security.py