Refactored image behaviors

* Modified polling methods to match standard CC style
* Added create_active_image function

Change-Id: I20f53550f5738f61d3ffea852e79b824111426a5