add test cases to unattended controller
Fixes #298 - Add tests to unattended controlleron the way, I've fixed a few bugs:
- When OS is sucsuffully installed, it tells foreman it was installed
when having roles enabled, Foreman would not allow an anonymous user to change the settings
- text/plain was only being set for spoof operations
- all unattended actions required authorization, thats clearly wrong.