Add spec tests

Add spec tests for all classes. Moved allowed_users to pam::accesslogin and changed name to allowed to reflect that it handles groups as well as users.