Implement `ToHalState` trait for Option<T>

This should help remove a bunch of unncessary `unwrap()` code that is
currently having to be written when wiring up Resources.