media: added isActive to check query states

isActive() is exposed as media.is(breakpoint) and media.getState().
The old behavior for media.getState(breakpoint) still exists, and is
simply passed through to media.is()
Merge pull request #13 from Aintaer/master

media: added isActive()