Adding possibility to pass date format to date formatter
Adding array type check and default to empty array
Adding missing phpdoc
Merge pull request #45 from c2is/dateFormatter

Adding possibility to pass date format to date formatter