Bug #2315: Uncheck context on update if context doesn't exist
Bug #2315: Uncheck context on update if context doesn't exist

As a bonus, set memory default on VM template create

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