Add utility functions for setting and getting visited instances
Use last instance visited for non-instance "Explore Trees" link
Made utility function names consistent
Merge pull request #207 from maurizi/topic/storeInstances

Topic/store instances