Make to_csv return a string in case no buffer is supplied.

Fixes issue #6061.
PRF: Adding Panels.shift test
ENH: Panel.shift now uses NDFrame.shift.
CLN: remove unneeded lines
DOC: Panel.shift no longer drops periods.