Conditional module changes to support Locator/Location conversion.

In order for MixedModulestore to convert between Locations and Locators, fields storing locations need to declare that they have References.

This change should be backwards-compatible, as the format that is exported has not changed. The only difference is how the data is stored internally in the xblock.

@dmitchell @singingwolfboy @ichuang Please review.