Factor out set_default_values.

We have a lot of repeated code throughout the system; this cleans this
up a little bit.
Add make_guid routine for objects that don’t want to use an organization local GUID.
fix for crypto deprecation warning
Merge pull request #80 from opscode/ma/org_endpoint2

Ma/org endpoint2