Add tests
Update README.md
Run code through php-cs-fixer

http://cs.sensiolabs.org/
adding travis config file
Installing dependencis on travis
Update README.md

Add travis-ci build status
PublicKey constructor can receive a key resource