Implement an IPAC table writer

This is based on discussions in #833 and and #1143.
@taldcroft
@keflavich
Please use this pull request to suggest your changes.

closes #833
fix itendation errors in documentation
modified for the suggetions on the pull request
improve formatting as the taldcroft suggestion
implement the changes dicussed on the issue tracker in github
return the identation as much as possible to @taldcroft original design
Merge pull request #1152 from hamogu/follow833

Implement an IPAC table writer