Add script to deal with SVG files per sample

replace_svg_object.py is capable of takinga directory with files
formatted and created by EMPeror.
Add tests for format.py and clean code

Remove unnecessary print statements and add exception ceration for the
main function that replaces and formats the SVG file.
Update credits
Change replace_svg_object.py to be per-sample

The script now works on a per-sample basis, this means that it can be
run in parallel for each of the samples that need a figure generated.
Address comments from pull request

The following minor changes took place
    - print -> parser.error, when there's a problem replacing the
      magnified figure with the non-magnified figure.
    - re-indent a line that did not have the proper indentation.
Change __license__ strings from GPLv2 to BSD
Merge pull request #2 from ElDeveloper/svg_handling

SVG handling
Merge branch 'master' of https://github.com/qiime/American-Gut into latex_formatting
Restructure create_titles, add test code

Move script code to scripts/create_titles.py
Move parse_mapping_file to utils.parse_mapping_file_dict
Restructure format_file

Move script code to scripts/format_file.py