Added prettyPhoto effect for the video gallery
Localized the masthead.
Fixed a bug causing an exception to be thrown during failed logins.

BUG:
The intended behaviour of a failed login is for the authenticateStudent()
function to return false so that an equality check in the LoginScreen
will catch the submissions of wrong credentials.

However, submissions of incorrect credentials were causing an uncaught
exception to be thrown instead.

FIX:
There were two subtle errors that caused this bug.

session.close() was called when an AuthenticationException  was caught.
This causes an invocation error as the session had already been closed
previously. This is fixed by removing the extra session.close() call.

Submitting a non-existent username causes a query to return a null Student
object. This is fixed by adding a if/else check for null Student objects
before attempting to authenticate.
Ensures that database sessions are cleaned up.

This commit introduces some code to ensure that all database
sessions have been cleaned up when it is no longer needed.
Updated translations for localization
Fixed several small bugs causing the login process to fail on Openshift
Merge pull request #6 from Ayrx/master

PrettyPhoto // Localization // Bugfix