Move the SmartyPants and Markdown inclusions into the functions that actually use them so they only get loaded when actually needed. Check to make sure SmartyPants doesn't already exist, as Typogrify also uses it and it was being included twice. Since it's actually loaded in the Markdown function's scope that's duplicate effort, but it looks good.
Move the SmartyPants and Markdown inclusions into the functions that actually use them so they only get loaded when actually needed. Check to make sure SmartyPants doesn't already exist, as Typogrify also uses it and it was being included twice. Since it's actually loaded in the Markdown function's scope that's duplicate effort, but it looks good.

Also, convert the rest of the spaces to tabs and update a couple coding conventions.

git-svn-id: 6b1ebb12d860d649cb505a0f98944664592785fb@3767 f4a90942-1786-4aa1-b092-57c31935ddc3

habari-extras/habarimarkdown,habari-extras/habarimarkdown