Changed resolveInfoForIntent into a TreeSet, added IntentComparator to handle comparison of Intents.  This fixes #886.
Added @Override to methods in IntentComparator
Removed incorrect equals() method from comparator
Added package checking to IntentComparator and added test cases
Merge pull request #887 from zachmccormick/master

Changed resolveInfoForIntent into a TreeSet, added IntentComparator to h...