Merge remote-tracking branch 'CJ/master'
Chen's order by.
Chens update
MAJOR UPDATE - improvements for MVC, and templates support

Added support for templates, and improved the MVC classes .
Merge pull request #5 from zycoding/master

Add sql features to getList
Merge pull request #6 from haywars/master

Chens updates
MVC Support for arguments

Extra path parts / folders will be transfer to the view as arguments .

So :
if the view looks like  :

class Project{
public function view($id, $param2){}

}

The paths :
/Projects/View/24
will pass $id = 24

/Projects/View/24/test
will pass
- $id=24
-  $param1=test
Fixed the querystring problem
bug fix
Updates for MVC and DB

- DB : added getCount , fixed getList
- Mvc  : added support for routing table.
- Emagid : Added better debugging tools
Added item loading from constructor
Added editorFor()

when completed it will be a better way to manage forms and validations.
MVC support for request types

you can now declare methods using the request type .

Example  :
if you POST to home/register
eMagid will first try to run :
"register_post"
and if it doesn't exist it will run :
"register "

the feature was added so we can separate the functionalities
Form validations
Added Unique validation to form validations

also added a new method : submit() to the form object that validate and
then save .
Authentication management library added
general bug fixes.
recommitting changes