Change requirements.txt

move flake8 to test-requirements.txt
add dateutil in requirements.txt

[ci skip]
Add content_type_id as suggested

1. update documentation to have list example
2. return content_type_id in the list, now is list of dictionary
3. autopep8 all python code
4. change travis settings