Make sure REST errors are recoverable

If an error is picked up, but on the next run is ok, make sure the flag var is marked as recovered else the rest of the code still thinks there is a problem.
Provide more debug output when a put fails
More detail in debug message
Fix some attribute tests

Make sure there is an attribute to apply to the node before applying it, else the opsview server wont take the change
Merge pull request #13 from duncs/master

Some more fixes to improve Opsview interaction