Implement -[RLMArray indexOfObjectWhere] and friends
don't hold onto query - fix for query double release
Add a dumb test to verify that holding subqueries past the lifetime of the parent appears to work
Add a test for sorting an already sorted array
Explicitly copy the TableView in arraySortedByProperty

TableView's copy constructor is actually a move constructor.
Merge pull request #702 from realm/tg-indexwhere

Implement -[RLMArray indexOfObjectWhere] and friends