Trying to change from dbinfo.php to database.php

ran into some trouble, so im pushing so sara and I can both try to solve
them. db credentials are hardcoded in right now so that she can test on
my database.  Database.php connection works. this isnt complete, and
doesnt work properly yet.
Running the database through database.php is working

fixed issues with the parsing of the data from the table/model
code is confusing since right now the table is named version and there
is a key named version, need to find the name of the table we on
build.eclipse.org so i can change that. will clean up the code after
sara sanatizes
SQL injection Prevention -- using sanitize::escape function
Cleaned up controller, it was returnning double nested JSON [[{..}]]
Cleaning JSON input -- using Sanitize::clean() function

This function will give us more options to check the input against different options.
fixing a problem on sanitize::clean() functions
set database table name for model
fixing error on finding db config file
changed database comparison field from id to project
fixed inline css and working examples in human readable view
Fixed problems for missing components and json without a version number

Yida ran into a problem with some requests that didn't have a version
number so I fixed that and I also made a catch-all for any components
which are not in the maven_p2 database. Prior to this it would not
return anything for an item not found. It sets state of the component
that is not found to unavailable.