Various bug fixes

Includes:

 - Update README.rst

 - Create javascript/build directory if it doesn't exist

 - Refactor configuration

 - Enable configuration of static files root directory