Fix issue 364, 366, 368, 369

- issue: 366
- changes: 
- Check number of required parameters on the method before calling it.(used reflectionmethod PHP 5 >= 5.0.3)
if number of available parameters is smaller then required script headers to error/index
- Added die() after each header, otherwise script execution will continue (can lead to nesty bug)
http://stackoverflow.com/questions/8665985/php-utilizing-exit-or-die-after-headerlocation
- added cookie_domain to destroy methods