Change _initialize() to set the object name only if none predefined.

This follows the same pattern as object plural and table name, and gives devs the freedom to set their own name.  This is useful, for example, if you want to translate "Model_FooBar" to "foo_bar" instead of "foobar".
Make ORM::count_all() return an integer instead of a string.
Fixes #4737.
Style fix: put a space after the (int) cast.
Merge pull request #82 from bharat/3.3/develop

Make ORM::count_all() return an integer instead of a string.

refs #4737
Merge pull request #81 from shadlaws/3.3/develop

Change _initialize() to set the object name only if none predefined.  Fixes #4733
Update ORM.php

http://dev.kohanaframework.org/issues/4652

Also related to https://github.com/kohana/orm/pull/77
Merge pull request #83 from neo22s/patch-2

Update ORM.php
refs #4652
Refs #4750: Fixes API guide issue for count_relations
Merge pull request #85 from rjd22/3.3/bugfix/fix_docs_mistake_for_count_relations

Refs #4750: Fixes API guide issue for count_relations
Fixes #4730, Fixed Auth_ORM::logged_in not working if $role is an ORM object.
Merge pull request #86 from hinton/3.3/develop

Refs #4730, Fixed Auth_ORM::logged_in not working if $role is an ORM object.
Add composer.json to support installing with composer. Fixes #4776
fix bug count_all w/ ->object_name (refs #4765)
Merge pull request #89 from melvinmt/bugfix/4765

fix bug count_all w/ ->object_name (refs #4765)
Merge pull request #88 from ingenerator/3.3/feature/4776/composer-package-definition

3.3/feature/4776/composer package definition (refs #4776)
Update composer branch alias (refs #4776)
Refs #4497: ORM::values() second param isn't optional anymore
Removed the ambiguous comment about related models to prevent confusion
Merge pull request #96 from kemo/3.4/develop

Refs #4497: ORM::values() second param isn't optional anymore