Fix for Rails 3.1, check instance_variables for symbolized model name
redirect to PERMISSION_DENIED_REDIRECTION

redirect to PERMISSION_DENIED_REDIRECTION instead of @current_user.uri
Remove habtm for Rails deprecation
Use symbols to check for constants
Merge pull request #3 from jonsgreen/master

Include Rails3.1 Fixes