partly migrate to json based encoding
registry and lamp can talk via json
fix pseq number issue of Registry
remove finished request from Daemon._requests
add response for DEVLOOKUP. solve stray request issue. remove request_type from marshalled Response packet