Added support for Rails versions under 3.2.1

Fixed broken specs
Added full support for Oj

Closes #128