Framework for serializing structures to XML

This adds several helper functions for serializing to XML:

* ol.xml.serialize: Counterpart to ol.xml.parse. By splitting
  the serialization process up into a node factory and a node
  writer, note writers can easily be used for different
  namespaces.

* ol.xml.pushSerializeAndPop: Counterpart to
  ol.xml.pushParseAndPop.

* ol.xml.makeStructureNS: Works like ol.xml.createParsersNS,
  but works for arbitrary structures.

* ol.xml.makeChildAppender: If the top item of the stack has
  the new ol.xml.NodeStackItem type, this helper function
  can be used to create a serializer that appends the current
  node to its designated parent.

* ol.xml.makeChildNodeFactory: Creates a node factory which
  produces child nodes from an array of node names which are
  passed to ol.xml.serialize.

* ol.xml.makeSequence: A convenience function for creating
  xsd:sequence structures. Takes an object literal and an
  ordered list of the keys, and returns an array that can be
  passed as values to ol.xml.serialize.

* ol.xml.makeSimpleTypeWriter: Using e.g. the new write*TextNode
  functions from ol.format.XSD, this function creates a node
  writer that writes simple type nodes for values like strings
  or numbers.

The following commits will be using this new framework for
implementing ol.format.GPX.writeFeatures, and prose
documentation with instructions based on what was said above
will be added.
Added wpt serialization for ol.format.GPX
Replace subtractViewRotation with rotateWithMap
Pass view rotation to replay
Activate rotateWithMap option in ol.render.canvas.Replay
Make select interaction create its FeatureOverlay

You can now configure it with a `style` option.
Modify interaction takes style & features options

Instead of a FeatureOverlay
Pass view rotation to ol.render.canvas.Immediate
Activate rotateWithMap option in ol.render.canvas.Immediate
Add features option to draw interaction
Rename rotateWithMap to rotateWithView
Document rotateWithView option
New makeChildrenAppender function and Node factory refactoring

The makeChildAppender function is used for adding a node of a
type with maxOccurs=1. For adding nodes of a type with
maxOccurs>1, the new makeChildrenAppender function was added.

With this new function, it turned out that more convenience for
creating node factories is required. The makeChildNodeFactory
function was renamed to makeSimpleNodeFactory, and it now can
create node factories where not only the namespace, but also the
node name can be fixed.
Added rte serialization for ol.format.GPX
Simplify annotations
Add trk serialization for ol.format.GPX
Documentation and cleanup
Don't inject stylesheets with JavaScript

This reverts 4d619d71b1ba7f96011d43c2f45edc441dd26f92 (see #1527), going back to what we had after e13075f6ff2a6a2d1719fe4af27d8099d28a604b (see #881).

To avoid the 404 in the hosted examples, the css is copied to the same relative path when hosted as during development.
Merge pull request #1745 from tschaub/linked-css

Don't inject stylesheets with JavaScript.
Get rid of compiler warnings