Update main.js

Update for #12
Update template.js

Update for #12
Update main.js
Update main.js

re-configured to set application extent if specified
Update index.html

Remove type="text/css" for coding style.
cleanup code and remove unused variables
Fix typo.
Merge pull request #13 from jcfranco/patch-1

Fix typo.
"Requirements" section tweaks.

* Generalized text editor requirement.
* Consistent punctuation.
Merge pull request #14 from jcfranco/patch-2

"Requirements" section tweaks.
Fix typos.
Merge pull request #15 from jcfranco/patch-1

Fix typos.
Fix typos.
Fix CSS LTR class typo.
Merge pull request #16 from jcfranco/fix-typos

Fix typos
Update template.js

Handle situation where not itemdata is found for the appid
Update OAuthHelper.js

omit the expires option so its a session cookie instead.
Update template.js

Fix #10
Update template.js
Fix for #17 and #11