Adding refresh event and making TileManager listen for it

When calling redraw(true) on a HTTPRequest layer, mergeNewParams is used to
add a url parameter with a random value. For layer types that do not use
params in the getURL function, the url does not change and the TileManager
will provide tiles from the cache. To make sure that tiles are fetched from
the server, they need to be removed from the cache first.
Renaming refresh to handleLayerRefresh
Merge pull request #402 from ahocevar/refresh

make tms.redraw() work. r=@tschaub
make sure that undefined can be used for feature.modified.attributes, this is what can happen when using Ext JS stores
update API comment
Merge pull request #1040 from bartvde/wfst

make sure that undefined can be used for feature.modified.attributes, this is what can happen when using Ext JS stores (r=@ahocevar)
Merge remote-tracking branch 'openlayers/master' into os-ol
Modified Bounds.oppositeQuadrant() to throw TypeError if the input is not
t/b and l/r.