Updated Web UI components tab

Created/modified functions in Mysql.php
Components that are linked to items now display in table on components
page.
Added functionality to add a component to the database.