Updated compiler compliance to JavaSE 7
Added the 'validateWithLogin' method

Added the method to validate a new Token. This is required before that
token can be used to create a new session.