Slider plugin: Fixed bug in the logic for calculating the initial
knob position when the specified minimum value was larger than
the maximum value.
Implemented support for legacy audio in the publishing script.
Loosened res limits of the plane mesh generator, so that it
can be used to generate ribbons. A limit to a total maximum of
16384 vertices is enforced due to the 16bit limitation on
the default index buffer. The plugin now uses less memory since
4 vertices are generated per sub-quad instead of 6. It also means
it renders correctly when rendering as line strips. Furthermore
the generated mesh is properly decorated with values for
vertex_count, stream_count and streams_loaded.
Fixed the vr_sensor_info plugin so that it checks whether
the returned sensor state has position and / or orientation
before attempting to use either one. Return sensible defaults
if the sensor is not currently providing data.
Updated the vr_sensor_available plugin to emit false if a sensor
is present but no position or orientation can be obtained. This
can happen in the FF Web-VR nightly builds if no HMD is connected.
Fixed a deprecation warning caused by dead code.
Fixed bug in the graph plugin: Don't try to update the connection
state even if we're the active graph when we're running headless.
Fixed bug in plane mesh generator that lead to the mesh being
constantly regenerated inside loops.
Added the old version of the plane generator back as Plane
(unindexed) so one still has the option of using the slow
version when more than 16384 faces are needed.
Only FF sets the sensor.hasPosition/Orientation fields of the
sensor state. This fixes inconsistent VR behavior across
compatible browsers.
Fixed typo: Occulus -> Oculus in the player HTML template.

Thanks Mikko.
Fixed publishing support for legacy audio:

When using legacy audio both .ogg or .mp3 files must be copied
if they exist.
Fixed context reference error in the Renderer.
Added an example script that compresses sequence names and
connection information to reduce the size of stored sequences. We
may choose to implement these changes later.
Renderer: Re-added missing call to Material.enable in Mesh.render.
Updated the renderer with an API for registering fullscreen
state change events listeners. Upgraded the viewport width /
height plugins to use this feature, so they know to appropriately
reemit when the values they represent are changed.
Merge remote-tracking branch 'origin/master' into userdb
fix template cache in dev