Added example for enums.

From: Neha Narang <narangneha03@gmail.com>

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-javascript@13276 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Implemented code generator for enums.

From: Neha Narang <narangneha03@gmail.com>

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-javascript@13277 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Added example for namespaces.

From: Neha Narang <narangneha03@gmail.com>

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-javascript@13278 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Implemented code generator for namespaces.

From: Neha Narang <narangneha03@gmail.com>

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-javascript@13279 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Improved variable names in template.

From: Neha Narang <narangneha03@gmail.com>

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-javascript@13280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Implemented support for namespace feature.

From: Oliver Buchtala <oliver.buchtala@googlemail.com>

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-javascript@13281 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Added example for inheritance.

From: Neha Narang <narangneha03@gmail.com>

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-javascript@13282 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Implemented code generator for inheritance.

From: Neha Narang <narangneha03@gmail.com>

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-javascript@13283 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Added option to generate debug information for code templates.

From: Oliver Buchtala <oliver.buchtala@googlemail.com>

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-javascript@13284 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Adapted examples to be compliant considering global context name.

From: Oliver Buchtala <oliver.buchtala@googlemail.com>

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-javascript@13285 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Enable test-suite for javascript.

From: Oliver Buchtala <oliver.buchtala@googlemail.com>

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-javascript@13286 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Adapted example 'namespace' to make use of feature("nspace").

From: Oliver Buchtala <oliver.buchtala@googlemail.com>

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-javascript@13287 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Improved naming of code generator.

From: Neha Narang <narangneha03@gmail.com>

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-javascript@13288 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Adapted examples to work with generated module.

From: Neha Narang <narangneha03@gmail.com>

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-javascript@13289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Added comments for templates.

From: Neha Narang <narangneha03@gmail.com>

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-javascript@13290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Moved swg files to subfolder.

From: Oliver Buchtala <oliver.buchtala@googlemail.com>

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-javascript@13291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Added example for overloaded functions.

From: Oliver Buchtala <oliver.buchtala@googlemail.com>

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-javascript@13292 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Added basic support for overloaded functions.

Currently dispatching is done only on the basis of number of arguments.

From: Oliver Buchtala <oliver.buchtala@googlemail.com>

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-javascript@13293 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Added example for overloaded functions.

From: Oliver Buchtala <oliver.buchtala@googlemail.com>

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-javascript@13294 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Fix several errors that have been revealed by compiling test-suite.

From: Oliver Buchtala <oliver.buchtala@googlemail.com>

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-javascript@13295 626c5289-ae23-0410-ae9c-e8d60b6d4f22