Remove dependencies

No longer assume ActiveRecord or Test::Unit (might be using mini-test).
Minor tweaks