#1730538 by andyp22: Refactored code to better handle drupal_add_js method of embedding munchkin function. More specifically, the marketo_post_script hook was modified to differentiate between external and inline javascript when add js to the page footer.
#1670998 by shevron: Module doesn't support passing boolean values
#1730538 by drupkick: munchkin js code not added if page_bottom region is not defined
#1670998 by shevron: Now using json_encode to encode the JavaScript object with the data.
#1730538 by drupkick: Now using drupal_add_js() instead of outputting to a region.
This release adds several new hooks to allow lead data submission using the Marketo Munchkin API. By implementing the new hooks in a custom module, users can have their site's forms submit lead data directly to Marketo.com.
This release resolves one simple problem for any users using the module on a secure site:
The method of identifying whether the page load was for a secure or unsecured page would get caught by the page cache. The module now uses the correct and protocol-agnostic method of identifying the protocol.