Bug #608: Add new states to the image state helper
Bug #608: Add new states to the image state helper

Locked and err state added.

hsanjuan/one,ggalancs/one,abelCoronado93/one,atodorov-storpool/one,atodorov-storpool/one,hsanjuan/one,unistra/one,tuxmea/one,OpenNebula/one,cloudweavers/one,dberzano/opennebula-torino,juanmont/one,cloudweavers/one,goberle/one,ggalancs/one,fasrc/one,dberzano/opennebula-torino,mattthias/one,spirit03/one,ggalancs/one,OpenNebula/one,baby-gnu/one,spirit03/one,goberle/one,spirit03/one,abelCoronado93/one,Terradue/one,atodorov-storpool/one,tuxmea/one,cloudweavers/one,spirit03/one,OpenNebula/one,dberzano/opennebula-torino,abelCoronado93/one,mattthias/one,fasrc/one,OpenNebula/one,hsanjuan/one,ohamada/one,fasrc/one,alvarosimon/one,mattthias/one,ohamada/one,tuxmea/one,unistra/one,alvarosimon/one,Terradue/one,hsanjuan/one,cloudweavers/one,OpenNebula/one,baby-gnu/one,spirit03/one,alvarosimon/one,cloudweavers/one,juanmont/one,goberle/one,unistra/one,baby-gnu/one,atodorov-storpool/one,ggalancs/one,ggalancs/one,alvarosimon/one,tuxmea/one,Terradue/one,fasrc/one,mattthias/one,ohamada/one,juanmont/one,dberzano/opennebula-torino,cloudweavers/one,spirit03/one,fasrc/one,Terradue/one,ggalancs/one,alvarosimon/one,ggalancs/one,ggalancs/one,goberle/one,atodorov-storpool/one,atodorov-storpool/one,goberle/one,abelCoronado93/one,mattthias/one,unistra/one,baby-gnu/one,cloudweavers/one,ohamada/one,fasrc/one,hsanjuan/one,baby-gnu/one,juanmont/one,baby-gnu/one,unistra/one,hsanjuan/one,baby-gnu/one,atodorov-storpool/one,Terradue/one,spirit03/one,tuxmea/one,mattthias/one,abelCoronado93/one,dberzano/opennebula-torino,abelCoronado93/one,unistra/one,juanmont/one,juanmont/one,dberzano/opennebula-torino,goberle/one,ohamada/one,OpenNebula/one,juanmont/one,hsanjuan/one,OpenNebula/one,unistra/one,fasrc/one,tuxmea/one,Terradue/one,cloudweavers/one,Terradue/one,alvarosimon/one,alvarosimon/one,tuxmea/one,goberle/one,ohamada/one,abelCoronado93/one,hsanjuan/one,fasrc/one,mattthias/one,abelCoronado93/one,unistra/one,goberle/one,atodorov-storpool/one,atodorov-storpool/one,tuxmea/one,ohamada/one,Terradue/one,dberzano/opennebula-torino,juanmont/one,baby-gnu/one,alvarosimon/one,OpenNebula/one,ohamada/one,spirit03/one,juanmont/one,mattthias/one,OpenNebula/one