Create client command

Add a command line tool to create clients with. Copied and modified from http://blog.logicexception.com/2012/04/securing-syfmony2-rest-service-wiith.html