Added a method to fluently set belongs-to relation

This method spun off from a discussion in IRC. What this enables is this:

$user->comments()->insert($comment_data)->article()->bind($article->id)
Removed a Useless if conditional from bind method
Cache application.encoding within HTML class to avoid unnecessary calls to Config::get();

Calling the "Config::get('application.encoding')" is expensive and within a large form (using the form builder) having it requested multiple times can result in a significant performance drag.

Caching this value reduced calls to Config:get within our project from 1200+ to 125. All core tests appear to pass with this change in place.
Refactor changes into single get_encoding() method within the HTML Class (in order to remove duplication of logic). All tests continue to pass.
Update to conform better with laravels coding style.
Add unit tests for date_format validator rule.
Implement date_format validation rule.
Add documentation for date_format validation rule.
fixed readme.md wrong symbol

Signed-off-by: freezestart <freezestart@gmail.com>
Rename static::get_encoding() method to static::encoding() to fit better with style.
Fixed a problem whith `Eloquent::get_dirty`

When you had a synched Eloquent model (e.g. without changed values) but
one of those values is `null`, then that value would be considered as
dirty. `Eloquent::changed` returns false, but the value is present in
`Eloquent::get_dirty`.

This fix makes sure that a `null` value in `$attributes` is only
present in `get_dirty` when it wasn't at all *set* in `$original`.
Implementation of Eloquent tests

Basic Eloquent unit tests.

Lacks database operations, relationship testing and some magic method
calls.
Merge pull request #1196 from freezestart/master

Fixed readme.md wrong symbol
Reformatted return

Changed the return of the method in line with suggestions from @JoostK.
Optimize Str-helper (see pull request #1180)

Signed-off-by: Bryan te Beek <bryantebeek@gmail.com>
Fix hardcoded "id" column in Eloquent auth driver.
Fix CLI mode detection for some shared hosts.
Added PDO error code
Setting the exception code in the constructor
Fix a tiny typo

s/encourage/encouraged