Put language chooser in directive, removed all duplicated code related to language switching. Switched from Jasmine to Mocha/Chai