remove assets.precomile from openseadragon engine

remove assets.precompile for rails 3 backcompat

conditional assets precompile

use Rails::VERSION::MAJOR as version check

only perform assets.precompile when rails > v3