Fix Value class add implicit cast, add as method in value, add new exception for devices
Merge pull request #9 from chaabaj/value_fix

Fix Value class add implicit cast, add as method in value, add new excep...