Updating Core to auto detect one-to-one relationships if $belongs_to is passed in.

Changed from _related to _belongs_to since we only care about one-to-one relationships and ORM builds the _belongs_to on init.

Made $belongs_to an optional parameter for logging of tables that have no foreign keys.

Created a function for searching the $belongs_to array and pull the model name out of it if the column is a foreign key.

Added in the Kohana coding standards... I think i got it right.