Adding dynamic where's to the query builder.

Signed-off-by: Ben Corlett <bencorlett@me.com>
Merge branch 'refs/heads/master' into feature/database-dynamic-where
Adding positive look-ahead for And/Or matching in dynamic query.

Signed-off-by: Ben Corlett <bencorlett@me.com>
working on form builder.
refactoring the form builder.
Merge branch 'master' into forms
Allow any implementation of ArrayableInterface be passed to views. Fixes #362.

Signed-off-by: Ben Corlett <bencorlett@me.com>
Make Input::json() more logical

Now you can send JSON payloads as an actual body in a PUT or POST request, instead of only decoding a specific POST param, or whatever it was doing before.




Also, if a non-JSON mime-type is sent it will refuse to try and parse the data, instead only returning the default value. This to me seems like a much more logical usage of Input::json() than the initial implementation.
Cache JSON to avoid re-parsing on every usage.
ACTUALLY do some caching this time.
fixed namespaced-controller routing bug
Fixed issue where nestedRelations would think userGroup was a nest relation if we where also eager loading the user relation
Extend Str::slug for better result consistency
Added support for where('column', null) to generate correct sql.
working on form builder.
Removed excess comments
Using array_set() in Session::flash() for consistency.

Signed-off-by: Ben Corlett <bencorlett@me.com>
Allow 'page' parameter to be configurable.

Refactor and testing of @meowcakes's #407.

Signed-off-by: Ben Corlett <bencorlett@me.com>
added dedicated test for namespaced controller
Fixed missing hard-coded reference to 'page' as the param.

Signed-off-by: Ben Corlett <bencorlett@me.com>