Switch to rails4

- upgrade rails version to 4.1.1
- fix bootstrap import not working for css