Merge pull request #5 from aklomp/master

Merge contributions
README.md: add Travis CI flair
Release 0.3.1 with minor bugfixes and some architectural changes
LDAP: add AD bind method alongside regular fastbind method
Config: update config system, config files now supply arrays

Previously, SambaDAV was configured by supplying global variables and defining
constants. Lose the dependence on global state and change to a more flexible
system where each file in /config supplies an array with config variables that
is merged in.
README.md: update the section about config to reflect changes
README.md: SambaDAV is now also known to work with smbclient-v4
Release version 0.4.0
gitattributes: don't include tests in release tarballs

The tests are only relevant for developers; keep the release tarballs minimal.
LDAP.php: bugfixes, use escape properly

Changed some references to local variables into class properties. Add escaping
where strings are concatenated into search filters or DNs, and remove it where
no string operations are done.
Release version 0.4.1
Config: ensure share_root and share_extra are always arrays

We try to access these at various places in the code, expecting them to be
arrays. Create them as empty arrays if they were not provided by the config
files.