Mod rewrite for nicer URLs

I merged master into #57 and updated functions.php to work correctly with the latest changes. Credit for the work should go to @eyesofjeremy.

I haven't done much testing other than making sure the Typekit embed code is inserted correctly, but things seem to be working nicely.