Added RestModule and Component interfaces

new file:   lib/component/component.dart
new file:   lib/module/rest_module.dart
modified:   lib/restlet.dart