Add docstrings to internal.py

Fixes: 6534
Signed-off-by: Warren Usui <warren.usui@inktank.com>
Merge pull request #194 from ceph/wip-6534-wusui

Add docstrings to internal.py