configurable httponly flag in set cookie method

Made the last parameter of php's setcookie method configurable to set a cookie which can be accessed over Javascript with oxid API.