Simplifed implementation

Made index.php as simple as possible; Moved page display and utility
functions into cimsy.php, moved get_title out of markdown.php