UI Cleanup

Moved displayPage() into canvas-api.inc.php so that it could become generally accessible to other API scripts. Still need to address TOOL_NAME constant in a more… productive way.

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>