Replace TreeRoutingTable with OptimizedTreeRoutingTable.

* Update docstrings.
* Drop setting of `failedRPC` attribute in contacts.
* Groom code style a bit.
* Update tests.
Update AngularJS to 1.2.27

Update AngularJS to 1.2.27
Migrate from $apply to $timeout

Remove Spaces
Added new goToStore function

Separating out go() function from goToStore() function for reusability.
Remove $apply bad practice
Remove hasOwnProperty that causes handler problems

Multiple changes

- Add goToStore method
- Move to $evalSync and remove handler fix

Remove extra lines

Remove $apply

Remove junk debugging code

Add semicolon
Merge pull request #1082 from hoffmabc/fix-store-loading

GUI fix for loading stores who want to load better
#1068 Bug in Chat Stream
I set the message-field to required
Merge pull request #1089 from davalb/my-issue

#1068 Bug in Chat Stream
added placeholder for notary and arbitrator-tables if they are empty.
Fix typos in /docs/markets
968 - Continuing on failed apt-get update
Merge pull request #1093 from fanquake/docs_typo

Fix typos in /docs/markets
Merge pull request #1092 from davalb/empty-notaries

added placeholder for notary and arbitrator-tables if they are empty.
Merge pull request #1067 from Renelvon/drop_tree_routingtable

Drop TreeRoutingTable
Removed duplicate log_dir creation
Merge pull request #1095 from yurivict/develop.scripts

Removed duplicate log_dir creation
Added locking on DTH operations
Get DHT lock in CryptoPeerConnection too
Made DHT lock & decorator private, some refactor