Applying google code standards

Added jscs conf and applying it to the code.  This also updates some dependancy to make the build work on Travis.
I can't find which "else style" is preferred in the code standard but at least it should be consistent (look at line 64 in this file).