Refactor/layer nav presenter and toggle layer

Furthermore I added mock-ajax in jasmine grunt test and updated cartodb class