pageloader eval fix

variable can be defined without scritpt's content
PMG test correction
Merge branch 'master' of github.com:Heigvd/Wegas

# By Francois-Xavier Aeberhard (1) and Yannick Lagger (1)
# Via Francois-Xavier Aeberhard
* 'master' of github.com:Heigvd/Wegas:
  PMG - Server script bug fix
  PMG Add level 'Apprenti'