Changes to parse utility functions for auto-complete
Added tests and addressed review comments
Merge pull request #2746 from aparajit-pratap/codeCompletionParser

Cross merge from master to Revit2015 for PR #2735