JSON requests for local apps

I added a few properties (with proper comment documentation) and modified the registerApps method to allow a container developer to specify whether or not they would like to load "local" apps (apps hosted on the same domain as the container) through JSON vs JSONp through the use of allowLocalDomainJSON=true. There is also the ability to specify what the domain check will use via localDomain. 

Modifying localDomain allows a developer to do something as follows:

Container URL: https://sub.greatdomain.co.jp
APP URL: https://f2app.greatdomain.co.jp

F2.init({ allowLocalDomainJSON: true, localDomain: "greatdomain.co.jp"  });

Container URL: https://sub.greatdomain.com
APP URL: https://f2app.greatdomain.com

F2.init({ allowLocalDomainJSON: true, localDomain: "greatdomain.com"  });
....

* Modified/Added logic in F2.registerApps to read containerConfig properties allowLocalDomainJSON and localDomain to determine whether to request an app via JSON or JSONp