added Hook model for specifying shell script content and added hooks field beforecreate,aftercreate,beforestart,afterstart and afterbuild in Profile model.all vm information gets available in the specified script through environment variables vm_* .afterbuild gets called with /afterbuild/VMNAME and returns OK or KO )