Set status to 'active' after image is uploaded

Fixes bug 1034787

The recent change I made to image_data and the domain model caused this
bug to regress. This change adds assertions to the functional tests in
the hopes of preventing future regressions.

Change-Id: I02f9a5c51f54c0c778e032500079aa13ab073e3e
Merge "Set status to 'active' after image is uploaded"