adding proxy registration REST code

Adding proxy registration, counterpart of https://github.com/theforeman/puppet-foreman/pull/88

We need at least this version of foreman_api non-SCL gem: http://koji.katello.org/koji/taskinfo?taskID=41407

This is working in progress. Please review.