Move frequencies functions to cython
Move some more functions from `tseries.frequencies` up to `tslibs.frequencies`, update imports in `_libs.period` to cimports

- [x] closes #xxxx
- [ ] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
