Tests & Gecko: fixed error about createDocument in utils.js
Tests & Gecko: fixed error about createDocument in utils.js

The third parameter is mandatory in Gecko 25 and lower. It
is optional since Gecko 26 (not released yet at that time)

casperjs/casperjs,n1k0/casperjs,pbrazdil/casperjs,mickaelandrieu/casperjs,joshuafcole/casperjs,muntasir2000/casperjs,hlr1983/casperjs,mickaelandrieu/casperjs,singhdev/casperjs,sircelsiussexy/casperjs,soundyogi/casperjs,jefleponot/casperjs,sircelsiussexy/casperjs,hexid/casperjs,hudl/casperjs,cryptoquick/casperjs,jamesanthonyferguson/casperjs,ravindrasingh22/casperjs,artillery/casperjs,dj31416/casperjs,hlr1983/casperjs,muntasir2000/casperjs,n1k0/casperjs,joshuafcole/casperjs,hlr1983/casperjs,hlr1983/casperjs,soundyogi/casperjs,istr/casperjs,flyHe/casperjs,PeterWangPo/casperjs,jjyycchh/casperjs,linkedin/casperjs,pbrazdil/casperjs,mcwonka/casperjs,dj31416/casperjs,hudl/casperjs,davidwhthomas/casperjs,HienLeThi/Casperjs_Demo,vietch2612/casperjs,sircelsiussexy/casperjs,cryptoquick/casperjs,muntasir2000/casperjs,JZL/casperjs,sircelsiussexy/casperjs,flyHe/casperjs,dj31416/casperjs,istr/casperjs,casperjs/casperjs,cryptoquick/casperjs,joshuafcole/casperjs,kyroskoh/casperjs,soundyogi/casperjs,hexid/casperjs,vietch2612/casperjs,jamesanthonyferguson/casperjs,hlr1983/casperjs,muntasir2000/casperjs,RobertoMalatesta/casperjs,vietch2612/casperjs,pbrazdil/casperjs,davidwhthomas/casperjs,hexid/casperjs,casperjs/casperjs,hlr1983/casperjs,pbrazdil/casperjs,RobertoMalatesta/casperjs,HienLeThi/Casperjs_Demo,mcwonka/casperjs,sircelsiussexy/casperjs,flyHe/casperjs,jamesanthonyferguson/casperjs,cryptoquick/casperjs,singhdev/casperjs,mickaelandrieu/casperjs,JZL/casperjs,JZL/casperjs,PeterWangPo/casperjs,HienLeThi/Casperjs_Demo,jamesanthonyferguson/casperjs,mcwonka/casperjs,n1k0/casperjs,n1k0/casperjs,alexbiehl/casperjs,jjyycchh/casperjs,istr/casperjs,jjyycchh/casperjs,muntasir2000/casperjs,linkedin/casperjs,JZL/casperjs,artillery/casperjs,soundyogi/casperjs,kyroskoh/casperjs,mickaelandrieu/casperjs,singhdev/casperjs,istr/casperjs,hexid/casperjs,RobertoMalatesta/casperjs,n1k0/casperjs,kyroskoh/casperjs,linkedin/casperjs,RobertoMalatesta/casperjs,mcwonka/casperjs,davidwhthomas/casperjs,alexbiehl/casperjs,joshuafcole/casperjs,ravindrasingh22/casperjs,JZL/casperjs,hexid/casperjs,n1k0/casperjs,vietch2612/casperjs,hexid/casperjs,hudl/casperjs,flyHe/casperjs,HienLeThi/Casperjs_Demo,artillery/casperjs,artillery/casperjs,istr/casperjs,HienLeThi/Casperjs_Demo,dj31416/casperjs,pbrazdil/casperjs,artillery/casperjs,jefleponot/casperjs,jjyycchh/casperjs,casperjs/casperjs,davidwhthomas/casperjs,casperjs/casperjs,jjyycchh/casperjs,ravindrasingh22/casperjs,Andrey-Pavlov/casperjs,Andrey-Pavlov/casperjs,mickaelandrieu/casperjs,PeterWangPo/casperjs,istr/casperjs,RobertoMalatesta/casperjs,ravindrasingh22/casperjs,davidwhthomas/casperjs,casperjs/casperjs,linkedin/casperjs,PeterWangPo/casperjs,hudl/casperjs,RobertoMalatesta/casperjs,joshuafcole/casperjs,alexbiehl/casperjs,cryptoquick/casperjs,sircelsiussexy/casperjs,PeterWangPo/casperjs,davidwhthomas/casperjs,JZL/casperjs,PeterWangPo/casperjs,ravindrasingh22/casperjs,artillery/casperjs,jefleponot/casperjs,joshuafcole/casperjs,jefleponot/casperjs,dj31416/casperjs,singhdev/casperjs,vietch2612/casperjs,alexbiehl/casperjs,linkedin/casperjs,jamesanthonyferguson/casperjs,alexbiehl/casperjs,dj31416/casperjs,alexbiehl/casperjs,jamesanthonyferguson/casperjs,mcwonka/casperjs,mcwonka/casperjs,jefleponot/casperjs,Andrey-Pavlov/casperjs,Andrey-Pavlov/casperjs,cryptoquick/casperjs,jefleponot/casperjs,kyroskoh/casperjs,kyroskoh/casperjs,ravindrasingh22/casperjs,mickaelandrieu/casperjs,jjyycchh/casperjs,HienLeThi/Casperjs_Demo,soundyogi/casperjs,Andrey-Pavlov/casperjs,hudl/casperjs,linkedin/casperjs,kyroskoh/casperjs,Andrey-Pavlov/casperjs,pbrazdil/casperjs,flyHe/casperjs,vietch2612/casperjs,soundyogi/casperjs,singhdev/casperjs,muntasir2000/casperjs,flyHe/casperjs