Add basic tests. Begin Phar stub.
Add generic isAuthenticated and currentUser functions.