Add option to append actionButton to custom elt

Added optional parameter to createActionButton to specify a page element
to which it should be appended. This is needed for the manual tests so
that we can group action buttons logically with info on the page. Defaults
to 'buttons' div as before.