Fixed a bug in Model\Media where the helper methods for deployment files and properties would throw an error if called when no properties or deployment sites were set.
Updated require PHP version.

5.4 is required due to the usage of JsonSerializable.