[CDF-331] - Create a module for each component
	- Minor bug fixes in component modules
[CDF-332] - Make samples run against require modules
	- Minor bug fixes in legacy samples
	- Created samples using require modules
[CLEANUP] - removed unused folder.xml
Merge pull request #304 from afrjorge/require-js

[CDF-331] - Create a module for each component