API: Add dtype parameter to Categorical.from_codes
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

Added parameter ``dtype`` to ``Categorical.from_codes``.