Package up key generation code and add console command for Laravel

This should address #10, just let me know if anything needs to be changed.