Handle size of OAuth dialog and allow it to be configured. Cleanup the
sample managed beans xml. Update some samples.
Merge pull request #1140 from markewallace/BetterOAuthDialog

General Cleanup