CRM-14866 membership payment not creating for membership block type

Note that most of this commit covers the test flow - adding tests & setup routines & making it possible to further test the submit function using the api contribution_page.submit function