Update adapter.php

Modified insertIfNotExist() to support NULL values
add unit test
Also update sqliteadapter
Fix use Sharing Api with calendar

Without this fix it logs this error:
Undefined index: itemSourceName at /opt/local/apache2/htdocs/oc7/core/ajax/share.php#44
I think the itemSourceName is only used with sharing files!
Remove special case for css in OC.filePath
add utf8 folder test
improve logo flexibility to fix wide custom logo alignment, fix #9339
Add some security utilities

This adds some security utilities to core including:
- A library for basic crypto operations (e.g. to encrypt passwords)
- A better library for cryptographic actions which allows you to specify the charset
- A library for secure string comparisions

Remove .htaccess

Remove .htaccess

Fix typo

Add public API

Use timing constant comparision

Remove CBC constant

Adjust code

Remove confusing $this
Use DI
defaults: add customizable defaultiTunesAppId
templates: use p() for getiTunesAppId
adding new webdav property containing the folder size
adding OC-ETag header
Ensure db connection before changing cache state

When trying to upgrade from 7.0.0 to 7.0.2, the manual upgrade path
(e.g. ` sudo -u www-data /usr/bin/php5 ./occ upgrade`) exits with the
following fatal error:

```
/var/www/owncloud# php occ upgrade
PHP Fatal error:  Call to a member function
  disableQueryStatementCaching() on a non-object in
  /var/www/owncloud/lib/private/db.php on line 423
```

This is caused by the self::$connection static variable having not
been initialized at the point of call. Adding a self::connect() fixes
the issue.

See https://forum.owncloud.org/viewtopic.php?f=29&t=23398&p=68556#p68556
Merge branch 'master' into securityutils

Conflicts:
	lib/private/util.php
Use correct 3rdparty
added missing User-Agents

header "User-Agent" was missed
Fixed readme for acceptance tests
[tx-robot] updated from transifex
also style submit buttons