Add arg-sample code

@mjhubisz

This PR addresses issue #9 by merging the code needed for `arg-sample` into master.

Also, this PR replaces #5.

OK, I added something to check if we're in a comment... but it still isn't 100% fool-proof, if the brackets aren't balanced it still might not work