Added editorconfig

IDEs like PhpStorm 8 support it natively.

Borrowed from https://github.com/cakephp/cakephp/blob/master/.editorconfig