basic tests of favorites and quirks

needs some more debugging though
test for add to favorites/quirks

also fixes the add_to_views ajax call so that it will not add an item
to a view if it's already on the view.