Updated all examples to use common RequireJS config file. Updated buildIndex script to use directories only for examples, ignoring the RequireJS config.