Started some more work on the Component Initial Save functions.
Finished a saveComponent function for internal use.

There is still a lot to be done before this is functional, but the bones are now in place to add a component to the database.
Merge pull request #186 from Jedwondle/master

Finished the saveComponent function for initial saves.