util: gd() improvement

defined the first argument as ref, so that you can use

	gd( $_REQUEST['something'], 'default' )

without warning.
Requesthandler: fix warning on no custom handlers
content update: auth checks, todos