Added support for config.resource in dev mode
add use of System property: http.maxInitialLineLength - this is then passed in to constructor for org.jboss.netty.handler.codec.http.HttpRequestDecoder - if not defined, default value is 4096 as it was previoously
- add use of System property: http.maxHeaderSize - this is then passed in to constructor for org.jboss.netty.handler.codec.http.HttpRequestDecoder - if not defined, default value is 8192 as it was previoously
- add use of System property: http.maxChunkSize - this is then passed in to constructor for org.jboss.netty.handler.codec.http.HttpRequestDecoder - if not defined, default value is 8192 as it was previoously
optimized getHeaders/getCookies for perf
code formatting correction
Merge branch 'master' into headers-cookies
Removed helper trait for Netty and eliminated unnecessary cookie processing.
Merge branch 'master' into headers-cookies
Merge branch 'master' into headers-cookies
Merge branch 'master' into headers-cookies
Merge branch 'master' into headers-cookies
Merge branch 'master' into headers-cookies
Minimised the potential for a map conversion by retaining the data field and performing sequential searches on it. Given a typical number of headers (~10) this may be better than a hash map + the cost of coercing to a map in the first place. Its also roughly inline with how Netty deals headers.

Performance measurements gathered show no significant performance benefit although there appears to be a slight improvement. In many cases the map should not have to be created and memory usage should also therefore be slightly better.

New suite of unit tests for Http - mostly covering the internal changes made.

Clarified the contract of the "data" member of Http.Headers such that multiple headers with the same name are not expected within the structure. This wasn't a problem previously as Fakes leverage the internal assumption that "data" would be transformed to a map and that duplicates would therefore be eliminated. The Fakes code has been updated to conform to Header's contract.
Re-instated filter actions being executed in the user execution context.
Merge pull request #1126 from mandubian/perf/headers-cookies

optimized getHeaders/getCookies for perf
Update select.scala.html

Fixed the scaladoc
Improved Cache class documentation, added an overloaded alternative for
Cache#set that accepts a scala.concurrent.duration.Duration instance.
Fixed race condition in JPA async commit

We now commit JPA transactions asynchronously after the Java result
future is redeemed.  There is a race condition though if the next
request (eg, a request for the resource that was just updated)
comes in before the transaction is actually committed.  This
fix ensures the transaction is committed before the response is sent.
Merge pull request #1151 from jroper/jpa-transaction-commit

Fixed race condition in JPA async commit
Introduce new filter API in Global that works for any Handler