test(mdMedia): add more tests and move .spec file to correct location

In commit 6397040 `mdMedia` was moved out of the `sidenav` component and into
`core`. The .spec file remained in the original folder though.

This commit moves the 'media.spec.js` file to the correct location and
adds more tests to more thoroughly cover `mdMedia`'s functionality.