Fix for image directive with periods
Fix for image directive with periods

Saw in https://github.com/nim-lang/nimforum/issues/41 that there was an
issue in rendering inline images.  Traced back through rstgen and found
that it was not counting something like:

`.. image:: http://i.imgur.com/oCem13Y.png` as valid since it contained
a period, and this wasn't in the set of valid characters, so the empty
string is returned by default.

Added a period to the allowable characters, and now renders correctly.

Test case:
```
import rst, rstgen, strtabs

var docConfig: StringTableRef

docConfig = rstgen.defaultConfig()
docConfig["doc.smiley_format"] = "/images/smilieys/$1.png"

proc rstToHtml(content: string): string =
    result = rstgen.rstToHtml(content, {roSupportSmilies,roSupportMarkdown},
                              docConfig)

var a: string = rstToHtml(".. image:: http://i.imgur.com/oCem13Y.png")
echo a
```

tulayang/Nim,sferik/Nim,nafsaka/Nim,haiodo/Nim,nanoant/Nim,Senketsu/Nim,xland/Nim,sferik/Nim,tulayang/Nim,Salafit/Nim,douglas-larocca/Nim,nafsaka/Nim,msmith491/Nim,Salafit/Nim,haiodo/Nim,jfhg/Nim,nimLuckyBull/Nim,msmith491/Nim,douglas-larocca/Nim,bvssvni/Nim,jsanjuas/Nim,jsanjuas/Nim,zachaysan/Nim,mbaulch/Nim,nafsaka/Nim,JCavallo/Nim,jsanjuas/Nim,bvssvni/Nim,nafsaka/Nim,Dhertz/Nim,douglas-larocca/Nim,xland/Nim,dom96/Nim,tulayang/Nim,msmith491/Nim,tmm1/Nim,endragor/Nim,jfhg/Nim,xland/Nim,dom96/Nim,endragor/Nim,JCavallo/Nim,mbaulch/Nim,jsanjuas/Nim,Salafit/Nim,Senketsu/Nim,Senketsu/Nim,Senketsu/Nim,endragor/Nim,Dhertz/Nim,sarvex/Nim-lang,sferik/Nim,jfhg/Nim,russpowers/Nim,greyanubis/Nim,zachaysan/Nim,jfhg/Nim,bvssvni/Nim,bvssvni/Nim,russpowers/Nim,jfhg/Nim,jsanjuas/Nim,Senketsu/Nim,mbaulch/Nim,msmith491/Nim,nanoant/Nim,Matt14916/Nim,Salafit/Nim,haiodo/Nim,Matt14916/Nim,nanoant/Nim,zachaysan/Nim,nimLuckyBull/Nim,haiodo/Nim,tulayang/Nim,jfhg/Nim,sarvex/Nim-lang,bvssvni/Nim,douglas-larocca/Nim,dom96/Nim,singularperturbation/Nim,mbaulch/Nim,nafsaka/Nim,greyanubis/Nim,endragor/Nim,singularperturbation/Nim,sferik/Nim,Matt14916/Nim,Senketsu/Nim,bvssvni/Nim,Matt14916/Nim,sferik/Nim,JCavallo/Nim,greyanubis/Nim,singularperturbation/Nim,dom96/Nim,Salafit/Nim,zachaysan/Nim,JCavallo/Nim,endragor/Nim,Dhertz/Nim,bvssvni/Nim,xland/Nim,xland/Nim,douglas-larocca/Nim,nimLuckyBull/Nim,nimLuckyBull/Nim,tmm1/Nim,Salafit/Nim,Dhertz/Nim,douglas-larocca/Nim,nimLuckyBull/Nim,nimLuckyBull/Nim,nafsaka/Nim,Matt14916/Nim,JCavallo/Nim,nanoant/Nim,nanoant/Nim,xland/Nim,russpowers/Nim,sarvex/Nim-lang,endragor/Nim,jsanjuas/Nim,dom96/Nim,tmm1/Nim,zachaysan/Nim,tmm1/Nim,nimLuckyBull/Nim,tulayang/Nim,greyanubis/Nim,sarvex/Nim-lang,douglas-larocca/Nim,douglas-larocca/Nim,zachaysan/Nim,tmm1/Nim,msmith491/Nim,russpowers/Nim,JCavallo/Nim,endragor/Nim,singularperturbation/Nim,Salafit/Nim,greyanubis/Nim,JCavallo/Nim,Matt14916/Nim,sarvex/Nim-lang,mbaulch/Nim,nanoant/Nim,sferik/Nim,russpowers/Nim,nafsaka/Nim,sarvex/Nim-lang,jsanjuas/Nim,greyanubis/Nim,singularperturbation/Nim,sferik/Nim,jfhg/Nim,mbaulch/Nim,Dhertz/Nim,tmm1/Nim,russpowers/Nim,haiodo/Nim,Dhertz/Nim,sferik/Nim,msmith491/Nim,tmm1/Nim,Senketsu/Nim,msmith491/Nim,dom96/Nim,singularperturbation/Nim,Dhertz/Nim,haiodo/Nim,dom96/Nim,greyanubis/Nim,mbaulch/Nim,russpowers/Nim,tulayang/Nim,Matt14916/Nim,singularperturbation/Nim,nanoant/Nim,sarvex/Nim-lang,xland/Nim,zachaysan/Nim,haiodo/Nim