[Commit 3] Update ActiveSupport to 4.1.7, update Angular.JS to 1.3.1, and added angular-cookies and angular-ui-router