Optimize by not using regular ekspression for simple string comparison.
case 2257 - Added getType method to TingObject class.
case 1683 - Emergency object id retrieval.
case 1712 - Helper function for webservice link retrieval.
Case 2607 - Small changes to allow extension.