Update model template handling

Add additional markers to model template.

Update command-line argument parser in model template to print formatted
version information.

Move IPython import statement to just above code for main scope.

New insert_code() and insert_info() functions called from build()
function of Build class.