You can only change the oritentation of a JPEG

TIFFs also have EXIF headers, but they're not supported by the Image class

PHP doc
http://php.net/manual/en/function.exif-read-data.php
delete old previews
Add notes that SQLite is CE only
Markup corrections
Correctly namespace DatabaseSetupException
Move constants from GET_TYPE to OC\Files so they can be autoloaded
Cache results of available languages

This function is about 8 times calles for every single page call, when caching this variable I was able to gain a small performance improvement from 20,512 µs to 630 µs profiled with xhprof

Surely, this is no gigantic gain but if we would do that for every function out there...
[tx-robot] updated from transifex
Merge pull request #12451 from owncloud/issue/6101-remove-gettype-class

Move constants from GET_TYPE to OC\Files so they can be autoloaded
Correctly namespace and autoload DatabaseException
Replace exception with standard exception
Merge pull request #12464 from owncloud/cache-available-languages

Cache results of available languages
Introduce getSourcePath() in Storage\Local to reduce the difference to MappedLocal
Remove unused 2nd parameter of buildPath() and rename to getSourcePath()
Merge pull request #12418 from owncloud/delete_previews

delete old previews
Merge pull request #12449 from owncloud/issue/12444-namespace-exceptions

Issue/12444 namespace exceptions
Move OC_GROUP_BACKEND_* constants to OC_Group_Backend class
Move OC_USER_BACKEND_* constants to OC_User_Backend class
Add functions to modify cookies to response class

Currently there is no AppFramework way to modify cookies, which makes it unusable for quite some use-cases or results in untestable code.

This PR adds some basic functionalities to add and invalidate cookies.

Usage:
```php
$response = new TemplateResponse(...);
$response->addCookie('foo', 'bar');
$response->invalidateCookie('foo');
$response->addCookie('bar', 'foo', new \DateTime('2015-01-01 00:00'));
```

Existing cookies can be accessed with the AppFramework using `$this->request->getCookie($name)`.
Use server container