media: added isActive to check query states
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()

behance/nbd.js,Aintaer/nbd.js