Fix typecast

Fix JSC_MISPLACED_TYPE_ANNOTATION warnings with the plovr 2013 release
candidate (http://plovr.com/plovr-2013-rc.jar)
Merge pull request #372 from fredj/typecast

Fix typecast
Fixing origin for default tile grid

We count tiles from bottom to top, so we want the origin in the
bottom left corner, not the top left corner.
Merge pull request #373 from ahocevar/origin

Fixing origin for default tile grid. r=@twpayne,@elemoine
Make it clear that ol3's expect.js is different
Move roughlyEqual into expect.js
Move called into expect.js
Move intersect into expect.js
Move equalArray into expect.js
Use correct singular/plural of noun.
Use CSS class constant in zoomslider.
Merge pull request #376 from marcjansen/singular-plural

Use correct singular/plural of noun.
Add fallback when examples are opened w/ file://.

When opening an example through the `file:`-protocol, e.g.
`file:///ol3/examples/full-screen.html` our `loader.js` would inject
a `<script>` tag with a `src` pointing to an illegal URL
`http://:9810/compile?mode=ADVANCED&id=full-screen`.

This changes the respective logic, so that in the case that we are accessed
through the `file:`-protocol, we fallback to using `localhost` as hostname
for the plovr-compiler.

The examples that do not use XHR (like e.g. `wms-capabilities.html`) now
work as expected when accessed through `file:`-protocol.
Merge pull request #377 from marcjansen/use-css-constant

Use CSS class constant in zoomslider.
Reformatted and gjslinted example-screenshot.js.
Restrict progressbar to fixed width.

As more and more examples will be processed with this script, the
progresbar would grow way too long. This commit makes the width of
the bar fixed. Every character in the bar now equals 5% progress,
regardless of the number of examples.
Merge pull request #378 from marcjansen/examples-file-protocol

Add fallback host when examples are accessed through file:-protocol.
Merge pull request #379 from marcjansen/progressbar

Restrict width of progressbar in example-screenshot.js
Add countries.json to examples data dir

The examples cannot use files located in the test dir, or they won't work when hosted as GitHub pages.
Add comment to highlight use of modified expect.js

Hat tip @marcjansen