Fixing Node Addition UI

This commit adds a notification on the success or failure of adding a
new node. It will still report success if the GUID of an unreachable
store is given.

Fixing typo

Conistency
Merge pull request #932 from VivaLaPanda/develop

Fixing Node Addition UI
use thread locking to serialize all db access

also reenable check_same_thread so we get exceptions instead of crashes,
although that shouldn't be possible anymore with this locking in place

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>
Merge pull request #937 from benemorius/db-locking

use thread locking to serialize all db access
Use booleans properly.
Use new octal notation (PEP 3127).
Added test for dbstore.getOrCreate

Fixed syntax
Merge pull request #939 from carolinux/test_coverage_improvements

Added test for dbstore.getOrCreate
move custom loglevel setup to node/__init__.py

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>
log output: initial move to DATADUMP

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>
add custom logging level DEBUGV=9

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>
log output: initial move to DEBUGV

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>
Merge pull request #884 from Renelvon/modern

Use forward-compatible python (part 1).
Merge pull request #889 from benemorius/log-datadump

log output: add DEBUGV and begin cleanup
When running configure.sh in Ubuntu, specify python2.7 for virtualenv.
Merge pull request #951 from tortxof/develop

When running configure.sh in Ubuntu, specify python2.7 for virtualenv.
Remove unused attributes
Move unused attributes from TransportLayer to CryptoTransportLayer

* They are used in CryptoTransportLayer so it makes sense to have them there
* Do not assign the same values to the same attributes more than once
Move handler and set_websocket_handler to CryptoTransportLayer
Make add_callbacks and add_callback get a handler class instead of method

* Simplify adding callbacks and their validate methods
* add_callback uses getattr to get the method that needs to be called