Add inlinenotes.py

An example filter that converts simple endnotes into inline notes in Markdown output, and leaves more complex endnotes as they are.