Merge pull request #28 from piotrantosik/master

use psr-2 code style
fix #30
Merge branch 'master' of github.com:EE/DataExporter
optimize code
reformat, allow null option
fix some options, update tests
refactor