Merge pull request #10 from rfellows/dev

BISERVER-9051 - Report view needs to be styled by theme
[CM-325] Update pentaho common build files (subfloor)
PRD-4101: Report having parameter with display type as Text box behaves abnormally when Auto Submit is unchecked.
PRD-4424: Clicking View report twice to generate report in FF

#### ReportViewer
* Removed references to the discontinued ParamDefinition.subscribe property, the schedule method and renderMode='SCHEDULE'.
* Refactored some code blocks
* Also had to change a lot in the code of init/resize/resizeIFrame due to fixes(some were already not working) or regressions on my behalf of other past issues:
** PRD-4001 - Report Viewer defaults to a close parameter panel.
** PRD-4102 - Parameter panel is always hidden in reports if auto-submit option in report is set to false
** PRD-4271 - Changing focus on textboxes' parameters shows white box rectangle before loading report, changing focus to a different box clears report
*** Had to change the way that the report area is made visible/invisible, placing it off-page, to prevent flickers and still let layout occur in every situation
** BISERVER-6915 - New Report Viewer should not request pagination when auto-submit is set to false
* Removed a few duplicate requests to the server
* Added a lot of comments and JIRA cases annotations

* Depends on CommonUI pull-request for commit https://github.com/webdetails/pentaho-platform-plugin-common-ui/commit/3c87914abb2030aae9ef7d655688f8740bf8c956
* Depends on CDF commit https://github.com/webdetails/cdf/commit/e1dc5878a7337b6ff98c06bd5b0d7dae407434c4
BISERVER-7493 No option available to select the report output-type when
scheduling and emailing an Pentaho Interactive report.
Merge pull request #13 from webdetails/master

PRD-4101, PRD-4424 Report Viewer
PRD-3833 - Drilldown to another report opens in same tab showing Report Parameter panel of both reports.
* Removed some unnecessary viewer.view.resize calls.
* Removed some unnecessary viewer.view._showReportContent calls.
* Added logging to enable debugging in iOS/Safari.
  Inspecting url "debug=true" to activate logging.
  Added new file to support this: reportviewer-logging.js.
* Changed most JavaScript calls to set element Styles to setting Classes.
  Added new classes to body to support this: contentHidden, topViewer, leafViewer, parentViewer, mobile, nonMobile, nonStyled and debug.
  All styling is now done in CSS.
* Fixed a bug in which the prompt panel would be unavailable instead of collapsed by default.
* Renamed viewer.view.resize -> viewer.view.resizeContentArea and of viewer.view.resizeIFrame -> viewer.view.resize (full resize, includes the former)
* Renamed viewer.view.updatePageStyling -> viewer.view.setPageStyled
* Fixed the iOS scrolling hack (in viewer.view._resizeMobileHtmlReportHandlesScrolling)
  being incorrectly applied to a child report viewer, messing the layout.
  Now checks if the child report is a report engine report by looking at the meta[@generator] attribute.
* Added a check that prevents styled content to be too small, by assuming a default width of 2/3 of viewport.width.
* Added detection of "unrequested" content iframe loads. This can happen because of links in the html content (viewer.view._updatedIFrameSrc).
* Removed the local viewer.view.isPentahoMobileEnv() predicate and started using the global "inMobile" variable, just like with other similar global indicators.
* When the content is a child report viewer, changes to non-styled.
* Fixed styled report not being centered in IE8.
  Now using #reportPageOutline {display:inline-block} and #reportArea{text-align:center} instead of #reportPageOutline{ margin-left/right:auto }.
* Removed unnecessary language="javascript" attributes from script tags.
* Added global variables _isReportViewer and _isTopReportViewer to facilitate testing for child report viewers.
Merge pull request #15 from webdetails/master

PRD-3833 - Drilldown to another report opens in same tab showing Report Parameter panel of both reports.
PRD-4379: Expand the metadata API so that sub-modules can add or alter attribute-metadata of elements.
Fixed the test case after a upstream change in bi-server now requires a definition for IPluginManager to be present.
Registering Kettle-handler
Trying to get the tests to run fine: Adding new mock-user-details service.
Trying to get the tests to run fine: Adding git-ignore files to curb the verbal garbage around test outputs.
Trying to get the tests to run fine: if you dont read the system-directory, I hardcode you, IPluginManager!
PRD-4379: Added metadata for PIR version attribute and test to verify that it works.
PRD-4379: Adjust code after API change.
[CM-441] Deploy new version of common-files to all 5.0 projects
subfloor push associated with CM-447
BISERVER-7493 No option available to select the report output-type when
scheduling and emailing an Pentaho Interactive report.
BISERVER-8947 - More Crystal theme tweaks merged in from UX, including Mobile.