Add SQLProduct reference to StockTransaction table

For reference, half of this came from J$'s PR but had to be reran.
Fix tests and, well, real functionality
First pass at creating user configurable report data sources from form configuration
Form user configurable reports working
track clicks on 'Multimedia Reference Checker' button
track clicks on 'Download ZIP' button
support unicode table names
very minor test cleanup
fix form property references to be path-based (+ tiny cleanup)
add validation for table name length to edit form
fix doc_type for form data source
clearer text
truncate table names that are too long to be generated
better unicode support in UI feedback
proper redirects
fix test
properly handle group references
add multimedia context to form and module view
add uploader to menu media for modules and forms
better ways to fetch menu media