Add depswriter scripts

Copied from http://closure-library.googlecode.com/git/closure/bin/build/
Extent hostexamples target to copy ol and closure
Add information on wether the projection is global

so that we know if we can wrap the dateline.
ol.Projection now takes a single argument

which is called ol.ProjectionOptions.
ol.Proj4jsProjection_ now takes a single argument
Add configureProj4jsProjection function

so that we can add extent and global parameter to proj4js projections.
And remove setExtent method which is not relevant.
Add test for ol.projection.configureProj4jsProjection
Add global=true for both EPSG:4326 and EPSG:3857
Merge pull request #304 from bbinet/projection-improvements

Some projection improvements
Do not wrap dateline if projection.isGlobal() is false
Extent hosted loader to support debug mode
Update readme.md
Check the examples in raw mode as well
Revert "Remove listeners when dropping tiles"

This reverts commit fd6aaff2f5d7d1c9e448e345d6291d311822de53.
Merge pull request #305 from bbinet/check-isglobal

Do not wrap dateline if projection.isGlobal() is false
Extent cannot be undefined here but it can be null

so we now use !goog.isNull(extent) instead of goog.isDef(extent)
Register change listeners for loading tiles only

With this commit we register a change listener at a time when we are guaranteed that the listener will be called. In this was we don't need to remove listeners when the tile is dropped from the tile queue. And to avoid busy-polling between IDLE and LOADING we rely on the map to call requestRenderFrame when new tiles change to LOADING from IDLE.
Merge pull request #307 from bbinet/null-extent

Check for not null extent
Merge pull request #302 from elemoine/debug

Hosted examples in debug mode
Merge pull request #303 from elemoine/tile

Tile loading stops after a while when there are multiple maps