kontrol: add registerMachine method

First step to move regserv functionality into kontrol
Merge branch 'master' into regserv-merge
kontrol: add MachineAuthenticate func for registerMachine method, WIP
Merge branch 'master' into regserv-merge
kontrol: add initial flag for creating inital key on a new machine
remove regserv, it's now integrated into kontrol. Fixes #15
kontrol_test: add registerUser test