Add Travis CI script.
Convert misc class to a namespace instead.

Conflicts:
	src/misc.h
Updated translations.