Add an active flag to Media model

This flag is set when media has been encoded into all of it's
initially associated encoding profiles.