Basic plugin to add custom fields, based on http://officialjoomlabook.com/elin-waring-official-joomla-book-blog/making-a-form-plugin