App Framework 2.0 update

Updated for App Framework 2.0.  Now has OS themes for iOS, iOS 7, Android and WP8.

Reworked the sample and fixed some bugs in App Framework MVC (and found bugs in App Framework)

Have not tested on a built app in PG, but tested through the browser.