listing.php: better extension check addded

listing.php: added extension check based on list of allowed extensions
listing.php: up button added

listing.php: button to move up in directory tree added