Re-factor Code

add $valentia.Result to preserve last command result.
Support for ErrorActionPreference. Now default is Continue for Invoke-Valentia and Invoke-ValentiaAsync. You can set as Stop by -ErrorAction Stop.
Now Result will show Correct Json format as {host : HostName ; value : Value}. Previously it was Hostname : Value.