Improved debug code and object line parsing.

Added more information to folder and file debug prints. A 'pre-scan' of
directory or file contents will give some information such as total
files, .map files, folders and lines in the file.

Post-load prints for files will display how many lines were read as
object lines and how many lines were valid function/operation lines.

Improved the sscanf queries for create-object lines so it supports
CreateDynamicObject optional parameters. Still not happy with the
current method though. An improvement would require abandoning sscanf so
it fully supports any amount of unknown/optional parameters.