passes formid with renderfield() and handle_post()
refactor template action

- some renaming and reordening
- reorder replacements
- resolve templates
- don't resolve target page from action field
- parse templates from addpage field similar as these from action field
- add syntax %%m(30-11-1975) Fixes #36
add a time field. Fixes #29
Add usemailtemplate field. Fixes #30

syntax:
usemailtemplate <templateid>
- templateid is resolved and replacements are applied
- template should contain two codeblocks: <code html>the html
body</code> and <code text>the text body</code> other content is ignored
option 0000 prefix number upto same length with zeros

Fixes #41
fix replacements for default values, reformatting
apply focus__this id for option ^ Fixes #69

Input with the id focus__this, are focus by some javascript of DokuWiki.
Add radio buttons, and changes styling of form

Fixes #27
BP-DATE(1980-04-03,%%m-%%e&%%Y)

change `%%.(1980-04-03)` into
`BP-DATE(<date>, <string with strtotime placeholders>)`
`BP-DATE(<date>, dformat)` prints the date in the format given by the
dformat config setting

Improves #36 and #28 further
change handle_post signature of fields

provide the form fields and field index for all fields, not only
fieldset
Allow escaping of " by "" in field definitions. Included unittests

Fixes #67
reformating syntax.php
note phpdocs about runas&userinfo
no 2nd arg is dformat config #28
resolve targetpages of addpagefield against page of the form as well
Merge pull request #109 from splitbrain/branch

Branch