Render a full entire html page from custom module
Your callback in hook_menu() will by default call drupal_deliver_html_page() which in turn calls drupal_render_page() where the page.tpl.php comes from.

It is possible to implement your own "delivery callback" method, which will be called by drupal_deliver_page() this is how the ajax is delivered in D7