Refactored last merge.
Release version 2.11.3.

Refactored the core Gallery script for JSHint compatibility.
Replaced the Makefile with Grunt tasks.