feat($state): expose previous state/params via $state

Please please please, fixes #92 and #1100