Removing dependency on rails when plugging haml into ActionView.

Ran into this while adding haml 4.0 to a stand alone ActionMailer app. The ugly option's default was being set based off of the Rails environment, changed it to default to true if Rails isn't present.