Checked visualize for intance of SQL injection and found none.
Refactored q() to take a new optional $params array parameter.
Refactored controllers for SQL injection.
Checked remaining q() and findbyPk() function calls for SQL injection and corrected as necessary.
Checked and fixed SQL injection in findByAttributes() calls.
previous updates
older updates
Merge branch 'dev' of https://github.com/qualintitative/egoweb into dev

Conflicts:
	.gitignore
	egowebWebApp/protected/config/main.php.bak
	egowebWebApp/protected/runtime/application.log
Created sql directory and added first migration SQL ther as per David Zhang.
Merge branch 'master' of https://github.com/qualintitative/egoweb
EgoId multiple selection fix
interviewer restrictions & app update
sigma js update #1
sigma js note functionality
config fix
graph autosave and sigma js fixes
db update
note directionality, font change, and data export
title concat
load graphs