manual merge of pull request #102
https://github.com/crowdint/rails3-jquery-autocomplete/pull/102/files

-- 1 new change for updated tests.
fix: only worked for models that extended active record directly.  changed dependency checking so it doesn't fail with other extended classes.
Merge pull request #1 from mpestritto/pull-req-102

support for multiple ORMs.