Add inlinenotes.py

An example filter that converts simple endnotes into inline notes in Markdown output, and leaves more complex endnotes as they are. This is an improved version of #10 that handles empty notes as well as notes that contained block elements.