Bug 2233 - RPC register exception when rpc has no input

* added check that should prevent non routed Rpcs being treated as
routed and and failing at context resolution.

Change-Id: I281152879429f2020f48894753f1d57aea85bde6
Signed-off-by: Jan Hajnar <jhajnar@cisco.com>
(cherry picked from commit 170bc1beb43f8082570d066afe6dbd2bf5c3735e)
BUG-2370 Reset schema context on disconnect in nc

Change-Id: I64197fc4ec375a07b2f0ea1dfb1215c4e31e206c
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
(cherry picked from commit aa14e255d17b0869a1de096cb0048f3c857a4ab0)
Merge "BUG-2370 Reset schema context on disconnect in nc" into stable/helium
Merge "Bug 2233 - RPC register exception when rpc has no input" into stable/helium