Reworked populating. Works for text, radiobuttons and dropdowns.
Checkgroups and checkboxes are still being worked on.

Added .settings directory to .gitignore
Repopulating checkboxes works.
Checkgroups now repopulate. This is done through the $selected array of
an element.
Merge pull request #83 from HSWebteam/server_repopulating

Server repopulating