gulpfile: add es6 support and remove build intermediates for javascript compilation
container: remove duplicate methods
add build directory to git ignore file
fix build issues related to es6 compilation