my head hurts

many many changes:
* changed get_user to actually user the new User() just so things work.
  it will be completely removed later on
* partial migration of create_machine
  * moved in methods
  * split in smaller functions per provider
* incomplete transfer of key assoc/deassoc
* partial import clean up
* move validate, generate, pub from private functions as object methods in Keypair model
* many more i don't currently remember
* migrated many helper functions and simple dummy vies