redhatchallenge/rhc2013 — pull request #8 by Ayrx (2013-08-25 06:19:16+00:00)
Title: HTTPS fix and code cleanup

### HTTPS redirect

The primary functionality introduced in this pull request is a configuration file to redirect traffic to HTTPS when the application is hosted on a JBoss Application Server. This is introduced in commit 7658255. As per the commit message, the configurations are based on an OpenShift Knowledge Base article, https://www.openshift.com/kb/kb-e1044-how-to-redirect-traffic-to-https

### HTTPS Bugfix
This pull request also contains a commit that introduces a fix for a bug that causes some external scripts not to be loaded when accessing the application over HTTPS. This is the typical "browser mixed content issue". For more information, see http://security.stackexchange.com/questions/17156/why-do-browsers-warn-about-mixed-content-for-images

The fix for this is to grab the scripts over HTTPS. I have found two scripts that raises problems when accessed over HTTPS, namely the Twitter Widget SDK and a font from Google Font's that is needed for the countdown timer. I have modified both scripts to use HTTPS instead of HTTP.

### Code cleanup
I have also removed any unnecessary code I can find from the code base as well as converting all `*` imports into more explicit import statements. The code base is *still* a huge mess though so more cleanup is definitely necessary.