Use puts for logging if Rails not defined
Avoid present? method
Merge pull request #5 from cobraextreme/master

Tweaks to acommodate non-Rails usage