Bootstrap CMS (to get access to mail tokens)

Because I am using mail tokens defined by a hook in a Drupal module, I needed to bootstrap the CMS. This PR achieves that, along with a couple of noise items ...
 - Correct hardcoding for Payment Processor Id
 - Correct PHP casting error for managed_customer_id (courtesy of @VinceMD)