script to generate localhost alias + portrait support

I'm lazy.
Please review all commit one by one to make it faster to review.

- Contains scripts to generate images.js on a local folder + create a localhost alias for apache (eg: localhost/tab/)

- Allow you to get better portrait support

Example

![screen shot 2014-12-30 at 12 32 29](https://cloud.githubusercontent.com/assets/157534/5578324/7701254e-9025-11e4-978a-ddaf27f07d3c.png)

This should not affect online version if you are a desktop user (assuming landscape).
If you are using portrait browser with landscape image, you will have now the same effect has landscape window + portrait image. Make sense to me.

This is supposed to be my last PR as vanilla code (in 3 index.js/css/html files).

Likely probable: future enhancement will be based on a huge refactoring with react.