Added a .detectQueryType method to Dashboards that takes an options object (like a chartDefinition) and returns a queryType, if there's a registered one that matches.
[PPP-3081] license header updates on all .java and .js (numerous processing fixes applied)
[FEAT] (SelectMultiComponent autoTopIndex, autoTopValue) Added methods #topIndex and #topValue to allow obtaining the index or value of the first visible item, at the top of the list box. The new options autoTopIndex and autoTopValue will be consumed on first render, affecting the listbox scroll position appropriately.
[FEAT] (SelectBaseComponent) NPE occurring, after a component had been detached from the dashboard. Events would still fire and cause the error.
[FEAT] Added placeholder method to BaseComponent.
[FIX] (CCC XSS) Permission error occurring on access to window.top.
Merge pull request #66 from carlosrusso/master

fixes to CpkEndpoint
Changed ivy.xml orientdb-1.3.0 to 1.5.0.
[FIX] (CCC axisGrid_lineWidth) Extension point was not taking effect (thanks to StoneGate for finding this one).
Merge branch 'master' of github.com:webdetails/cdf
Debug flag should start as false instead of true
Added method for obtaining the url of the cgg draw service.
[FIX] (CCC pvc.text.trimToWidth) The trim terminator width was wrongly being taken into account.
[FIX] (CCC Legend Panel Label Font) Not being able to change the legend font by using a constant valued extension point, and this affecting layout.
[FIX] (protovis) Now the properties may call other properties and this will always return an up to date value, on any instance.
[FIX] (CCC Panel axes) The panel axes dictionary now inherits from the chart axes so that all axes are defined and not just overriden ones.
[FIX] (CCC Tooltip Intermediate Scenes) The tooltip would not show in intermediate scene zones in Area and Line marks.
Now the tooltip is redirected to the main scene.
[FIX] (CCC Axis Gridlines) Unlocked the axis grid rule "position" (left or bottom) extension point.

[PERF] (protovis Area Line) Area and Line marks with interaction enabled would render much slower that when non-interactive.
An overlay of fully-segmented paths existed solely to detect events for each scene/instance.
By implementing scene/instance index redirection, the events overlay is not needed anymore.
[PERF] (CCC GroupingOper) Improving performance of the Grouping operation and of Data creation.

[FEAT](CCC pvc.text.trimToWidth) Labels are now hidden when the trimmed text is below a given size.
[FEAT] (CCC Legend Tooltip Label Trimming) Legend items' labels are now trimmed on overflow, and the tooltip shows the original text. Still need to better place the tooltip relative to the label. Still need an option for not showing the tooltip (like in the axis panel).
[FEAT] (CCC Treemap Colors) ByParent color scale now includes the colors of parents that have colors assigned.
These parent's colors are calculated by color averaging of children colors.
[FEAT] (CCC Treemap ValueLabel Hide) Value labels are now hidden when they wouldn't show relevant information.
[FEAT] (CCC extension points scene variables sugar) Added sugar syntaxes for accessing scene variables values and labels, from the Scene or the Context.
Two syntaxes:
* a generic one #get(varName, [prop='value']).
* a specific and discoverable one: #getSeries(), #getCategory(), #getValue(), #getSeriesLabel(), #getCategoryLabel(), #getValueLabel(), ... Also for "X", "Y" and "Tick".
[FIX] (CCC BulletGroupScene) Revert a previous change in a field's name. Breaks Analyzer.
[CHG] Updated license headers.
[FIX] (protovis QuantitativeScale Date) Fixed a problem in ticks calculation, in floor rounding of dates of day/week precision.
[FEAT] (CCC AxisDomainRoundMode Timeseries) Date axes now support the "tick" domain round mode. "nice" is not relevant.
[FEAT] (protovis QuantitativeScale Date) Now supports the roundInside option for dates as well.
[FEAT] (CCC Legend Item Size) Added new option to allow controlling the size of each legend item: "legendItemSize". Takes a number, percentage string, JSON size or CSS size string.
Also, legendItemPadding now correctly supports percentages referent to the parent size (were relative to the marker size).
[FEAT] (CCC Legend Item Size) Finished renaming of "row" to "section" in the code.
Merge branch 'master' of github.com:webdetails/cdf
Include Backbone.Events in the prototype of every BaseComponent and only have Dashboards mix it in to and object if it's not already available.
[FIX] (CCC Pie Panel Legend) When all the categories were set to invisible, by using the legend, the panel would internally throw and invalid data exception, which resulted in a chart with no legend to be able to make categories visible again.
Changed the level at which the exception is caught, so that it shows on each plot's panel instead. Also, now only throwing the exception when there are any categories, but their values do not allow representation.
[FIX] (CCC Bar BarWidth) Calculation of barWidth for single series included more margin than it should.
[IMP] (CCC Legend Tooltip) only show legend tooltip when the text of the legend item was trimmed.
[FEAT] (CCC Bar antialias) Auto-antialiasing bars when their width, or the space between is small enough that the pixel rounding results in perceptible different bar widths and/or spacing.
backporting https://github.com/webdetails/cdf/commit/afcb00e5cdfe47c8e05d9e15ef9b47f55b776981 as is has shown to be a better solution for http://redmine.webdetails.org/issues/2250, that works both on 4.x as well as on 5.0
[FIX] (CCC Legend Align) Two bugs in layout code that would cause misalignments.