Disable copy constructor and assignment operator.

Change-Id: Ib9cd6f7ac64b7af7f33ec9fd4c45a623625f3603
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Set the right ownership for the components we expose.

Make sure we set the component ownership to c++, by default
the script engine would take it and delete the component...

Change-Id: If4ea905495566954ff804b636934c33eb118ccf3
Reviewed-by: Kai Koehne <kai.koehne@digia.com>