Updates for SAM export

+ Initial work on organizations, activation keys, and content hosts (systems)
+ Some fixes for running on ruby-1.8.7
should this also include `SAM.next`?