Add travis config file.
Merge pull request #48 from ndm2/initial-travis-integration

Initial travis integration
Go back to extending AppHelper. This is expected to cause 2.0.x tests to fail.
Drop custom tag generation and _parseAttributes() implementation in favour of HtmlHelper::useTag() and config file usage. This also adds a different settings style where keys are used to define settings, this is necessary in order to support additional settings like configFile, it's also more consistent with the behaviors and the CakePHP core. BC is kept. At this point the tests should work again with 2.0.x.
Add tests to make sure #50 is covered and that minimized attributes are handled correctly.
Add support for loading user-config _additionally_ to plugin-config.
Merge pull request #51 from ndm2/revamp-media-helper

Revamp MediaHelper
Remove broken URL handling, it was never working. Covers #44
Return early on URLs, no need to execute any file finder logic on paths that are expected to be unresolvable. This also avoids possible open_basedir restriction errors.
Merge pull request #52 from ndm2/remove-broken-url-handling

Remove broken url handling
Remove workarounds for older PHP versions with missing PATHINFO_FILENAME support.
Merge pull request #53 from ndm2/remove-old-php-workarounds

Remove workarounds for older PHP versions
Add support for regenerating metadata when replacing files. Not doing so causes the wrong data being left in the database record, rendering it invalid. Resolves https://github.com/davidpersson/media/issues/67
Merge pull request #54 from ndm2/regenerate-metadata

Add support for regenerating metadata
Do not extract settings, this would overwrite the $level method argument.
Do not rely on implicit variable creation, it's discouraged and causes possible undefined variable flagging by code analysis tools.
Fix typo in class doc-block, this isn't the Coupler behavior.
Make metadata caching configurable. This gives the user more control, makes testing easier and avoids polluting the cache with test data.
Add tests covering MetaBehavior::metadata() and metadata caching.
Merge pull request #55 from ndm2/metadata-cleanup-caching-and-tests

Metadata cleanup, configurable caching and additional tests