Added method to get the application object instance.
Change getVar() function from private to public

This function is very useful to get extra headers like authorization (for JSON Web Token purpose),...
Flight::request()->getVar('custom');
Merge pull request #120 from nhutquang97/master

Change getVar() function from private to public
Fixed problem with Request Json array

Fixed application type for browsers that also send character encoding,
and now send the JSON data through the Collection system.
Fixed problem with Request Json array

Fixed content type for browsers that also send character encoding, and
now send the JSON data through the Collection system.
Fixed code to work when body is empty

Now passes empty JSON data through the collection system to remove
errors about unknown keys when posting via other methods
Merge pull request #121 from cuonic/master

Fixed problem with Request Json array
Converted helper methods to public and static.
Added method to get the request body.
Updated route object passing functionality.

Before the route object would automatically be passed to all callbacks. Now you need to explicitly
ask for it by passing in true as the third parameter in Flight::route().
Updated documentation on route info.
Removed the body property from the Request class.
JSON request input is now stored in the data property.
Updated class comment.

- removed deprecated json property
- added missing secure, accept and proxy_ip property
Merge pull request #126 from smeinecke/remove_comment

Updated class comment.
Redirects should always consider the base directory.
Update VERSION
Add support for HTTP status code 418 (Permanent Redirect)
Add support for getting request status
replacing array_push with faster []