Fixed string interpolation issue with manifests.py.

String interpolation for a debug message was missing a '%' sign. Also
added docstrings and fixed some indentation issues.
Merge pull request #237 from omaciel/fix-manifet-module

Fixed string interpolation issue with manifests.py.