Remove explicit calls to `to_hal_state()`

The `Resource#add_state` method will now generically accept anything
that implements `ToHalState` trait.
Merge pull request #12 from hjr3/remove-hal-state-calls

Remove explicit calls to `to_hal_state()`