Add unix socket support for SphinxAPI connection

Feel free to edit the comment as needed, I'm not a very good writer, lol.

I also replaced is_numeric() with ctype_digit() because it is a faster/simpler check that is also more accurate when dealing with ports.
Update Changelog
Merge branch 'sphinxapi_unix_socket' of https://github.com/josh4trunks/nZEDb into josh4trunks-sphinxapi_unix_socket

Conflicts:
	Changelog
Fixing for code standards. Adding additional sanity checking.
Updating Changelog.
Fixing user_roles data loading SQL, for new installs.
Updating populate_tvrage script with some output.
Moving populate_tvrage script where it can be seen more easily.
Fixing $dupecheck test and copy/paste error.
Fixing surplus parenthesis.
Updating Changelog.
Fixing PostProcess looking in root namespace.
Ordering Class properties by visibility/alphabetic
Fix PreDB search
add issue ref to changelog
rference properly #1547
Fixing breakage to tvrage updates caused by moving script.
Escaping username in login templates to prevent XSS attacks.
Changing some autoincrement defaults so that user entries are created at a high enogh point that we can add starting entries below them.
Merge branch 'dev' into next-master