Added "getData" method to retrieve json-decoded data from JsonResponse

In the context of this issue : https://github.com/laravel/framework/issues/1751
changed response type of 'getData' to mixed
added php's default arguments to getData method of JsonResponse
Merge pull request #1781 from kapv89/patch-5

Added "getData" method to retrieve json-decoded data from JsonResponse