extending template handlers to include Rails 4

- extending if block to include rails version 4
- using starts_with as a convenience to regex