Update cacti-sqlite.sql

Updated "graph_templates_item" table creation with code from beagle1 in this forum post: http://forums.cacti.net/viewtopic.php?p=247285#p247285
Update graph_templates.php

http://forums.cacti.net/viewtopic.php?p=242106#p242106
find this line in graph_templates.php:

cdef.name as cdef_name as cdef_name,

and remove the duplicate 'as cdef_name'
Update data_templates.php

See:
http://forums.cacti.net/viewtopic.php?p=242078#p242078
Update template.php

See:
http://forums.cacti.net/viewtopic.php?p=242263#p242263
Update config.php
Update config.php

correct $database_port path
Update template.php

Change "!(" to "not (" in SQL statement, line 425
Update graph_export.php

changed '$sql_where = "AND !(' to '$sql_where = "AND NOT (', at lines 747, 749, 1492, and 1494.
Merge pull request #1 from gcargile/master

Pulling down the good work of gcargile