Device Registration Dialog added

Added Device Registration Dialog.
Fixed issues connected with BOOL value sending in SALTR requests.