Raise error when no transition to states are provided.

Added some specs for coverage and then another check in `Machine#transition` to make sure the 'to' state is not an empty array. /cc @hmarr @mrappleton