Remove hard coded size keys

Instead of assuming that we will have a size called 'full' that will not
have reduced dimensions (because this assumption was wrong, 'full'
currently means something else), check whether the value of a key in
@@media_dimensions is nil. If it is, return the full dimensions of the
image.
Use mock media sizes

Make up media sizes for testing to make sure they're configurable.