Adjusting iodocs for resource descriptions and formatting results.
Adding documentation ability in Mabi App, controller classes and middleware. Added a parser for markdown in comments.
Fixing styling for api docs display
Adding documentation to middlewares
Fixed middleware 'next' call for documentMethod. Added documentMethods for APIApplicationOnlyAccess. Fixed REST-level Post Only middleware. Added more REST-level access middleware to restrict access to read-only and to object-only methods. Added 'ignore' property for controllers so that controller functions can optionally be blocked from being served as endpoints.
Adding json to gitignore so that it can be generated dynamically
Added ability to add optional middleware directories from the application side. Renamed getDocProperty to getDocDirective in ReflectionHelper, because the former is already the name of a reflection function that does different types of work.

Changed directive names so they reference the type of object that is being manipulated:
'option' and 'restful' above Model classes is now 'model'
'controller' above Controller class functions is now 'endpoint'
'options' above members in Model classes is now 'field'
Adjusted uses of the existing directives to match change from previous commit
Case fix
Changed to the more concise __DIR__ include notation. Cleaned up comments and added parameter restriction to some functions.
Changes to allow iodocs to run standalone on a server
First coverage testing commit. Includes new tests and adjustments to core classes which should not affect compatibility. These include:

Changed controller loader to a fully functioning class. Additions to includes so that classes can function more independently. Removed todos and added comments where needed. Fixed hardcoded controller type in ModelController. Allowed '\DateTime' as a core type. Updated SharedSecret middleware to use the field annotation instead of model annotation (this is not currently being used in production).
Adding middleware tests. Put all tests in their own namespace
Merge branch 'autodocs-minorfeatures' of bitbucket.org:prolificinteractive/mabi into autodocs-minorfeatures
Merge remote branch 'origin/first-tests' into develop

Conflicts:
	middleware/RESTAccessPostOnly.php
	middleware/RESTAccessReadOnly.php
	middleware/RESTPostOnlyAccess.php
	middleware/RESTReadOnlyAccess.php
	middleware/RestAccessPostOnly.php
	middleware/RestAccessReadOnly.php
Adding preMiddleware and preCallable overrides to controllers
Adding customizable parameters in docs
Adding stackable extensions to MABI for cleaner extensibility of a MABI app and so we can ship standard functionalities
Consolidating RESTAccessMiddleware with one abstract class. Also added an additional access class.
Updated test cases to work with new Application extension format. Fixed the full docs tests for the access tests.