HttpMiddleware to login a user in a REST way, add plain JSON setter&getter
first tests
add fake request object to fix middleware tests in the container
test render after setData
HttpMiddleware tests
fix year
Merge pull request #31 from owncloud/httpmiddleware-split

HttpMiddleware to login a user in a REST way, add plain JSON setter&getter
add automatic logout to HttpMiddleware & tests
wasAutomaticLogin -> isRESTAuth
Merge pull request #32 from owncloud/api-logout

add automatic logout to HttpMiddleware & tests
mdb2 returns null when no row is present. pdo returns false. check both.
Merge pull request #33 from owncloud/fix_fetchrow_for_mdb2

mdb2 returns null when no row is present. pdo returns false. check both.
remove content length header because we cant make sure that this is the only output. For instance in the admin page you need to render a subset of the page as a template, setting a content length header breaks the page cc @tanghus