Major rewrite of Restler class. Rester now has a clean and predictable life cycle as listed below
Major rewrite of Restler class. Rester now has a clean and predictable life cycle as listed below

# Typical Restler 3 Life Cycle

## Successful Request

- **get**
	- path
	- version (if url based)
	- content type
	- parameters
- **route**
	- find api method
	- set properties
	- change defaults
- **negotiate**
    - cors
    - version (if vendor mime based)
    - media type
    - charset
    - language
- ***preFilter***
	- *considering other facts*
- ***authenticate***
	- user
	- access control
- ***postFilter***
	- *considering user*
- **validate**
	- parameters
	- fix when possible
- ***preCall***
	- *use cache*
- **call**
	- api method
- **compose**
	- structure
	- headers
- ***postCall***
	- *create cache*
- **respond**
	- send data

## When met with an exception at any stage above

- **message**
	- compose error response
	- compose headers

- **respond**
	- send error message

jeremydenoun/Restler,jeremydenoun/Restler,jeremydenoun/Restler