Merge pull request #4 from cygnite/dev

Update LICENSE
Config::getConfig() changed to Config::get(). Url segment changes.
Merge pull request #5 from sanjoy87/master

Config::getConfig() changed to Config::get(). Url segment changes. Changes on FileExtensionFilter for autoloading files from register directories.
Alignment issue fixed.
Update README.md
Removed debug parameters 

Removed unwanted code from library. Dynamically include swift mailer library based on user email 
configuration.
Update Mailer.php
Added makePropertyAccessible() 

Added makePropertyAccessible() and documented functions
Mailer library documented

Documentation done for mailer library
Changed trash() methiod

Changes in trash method and moved constructor code into startSession() method.
Deprecated fetchAll() finder method to all()

Deprecated fetchAll() dynamic finder method and changed it to all()
Dynamic finder fetchAll() finder changed to all()

Dynamic finder fetchAll() finder changed to all()
Merge pull request #6 from sanjoy87/master

Removed unwanted code and simplified config
Readme.md updated with MIT License.
Auto loader alias issue fixed.
Changed DataSource class name
activerecord_ no longer required and removed from core.
Added more finders in a list-
YourModel::first();
YourModel::last();
YourModel::all();
YourModel::findBySql();
YourModel::findByUserNameAndIsAdmin(array('Admin', 'Yes'));
YourModel::findByUserNameOrIsAdmin(array('Sanjoy', 'Yes'));

Also Or Where condition added into the list.

->where($conditionsArray); // for multiple AND
->where($conditionsArray, '', 'OR');//for multiple OR
Update migration latest version into table

Update latest version of migration version into table
1.   Added Tracy exception handler in core. Handle exception and log it.

2.   Dynamic finder method findBySql() altered to fetch all records from database. Return PDO object.
3.   Added container class into the core.
4.   Dependency Injection- Controller injection with type hinting and property, interface injection or act as service.
5.   if (!class_exists($controller)) {
    throw new Exception('Unhandled Exception (404 Page)');
    }
    Added into Dispatcher class to handler 404 page
6.  Remove unwanted code and Improved coding and doc.
Exception handler style customization.
Migration With Seeding added.

Added getDatabaseConnection(); into ActiveRecord class.
Changed Schema::getInstance() to Schema::instance()
Handler::dump() method added to dump data.
Added updateMigrationVersion() method in table and added created_at field for migrations schema

Changed $table property visibility to public
Update: 	* Add a .gitignore file

Summary: Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>

Test Plan: no plans yet

Reviewers: sanjoydesk

Subscribers: gnanakeethan, sanjoydesk

Differential Revision: http://phabricator.gnanakeethan.tk/D2