Cleaned and fixed regexes and fixed removeEvilAttributes()

Signed-off-by: Darren Hill <dchill42@gmail.com>
Added SecurityTest

Signed-off-by: Darren Hill <dchill42@gmail.com>