Rails4 assets

Changes to get asset pipeline working for rails4. Some of the velocity pages do not look pretty, but getting some help from @ermauliks to get them fixed. More pull requests to come soon.
```java
velocityContext.put("jyoti", this);
``` 
?? I'm sure you missed removing this :)