added bower support. updated jasmine to 2.0 + refactoring

added bower support. updated jasmine to 2.0 + refactoring