API: Panel.dtypes to use generic method; add tests for Panel4D for same

DOC: updated api docs for panel/panel4d
Merge pull request #5983 from jreback/panel_dtypes

API: Panel.dtypes to use generic method; add tests for Panel4D for same