added have_role_attribute convenience function.
removed _attr suffix from attribute SQL functions.
updated comments and fixed whitespace issue.
minor cleanup and comment changes.