Added a new function to convert SkyCoord to pixel coordinates

@mdboom @nden - would something like this be acceptable in astropy.wcs? I need it in various project and it will also make the implementation of https://github.com/astropy/astropy/pull/2210 easy.

If you think it would be ok, then I can go ahead and add some tests and a changelog entry.
Yes, I can use ``coords.data.lon`` instead but I should fall back on ``coords.spherical.lon`` if the representation doesn't have lon/lat.