database::getarticlebyid($id) added

paramhandler::handle functions work corrrect now

New file usefulfunctions.inc.php added, to insert small functions there
usefulfunctions.inc.php refresh() function added.