Fix errors raised on reports which use --separate-models option

* warning_code was missing, and the fingerprint method on warning relies
on it always existing
Merge pull request #313 from noahd1/missing_warning_code

Fix errors raised on reports which use --separate-models option
Only treat controllers like controllers

and treat non-controller classes in controller files
as if they are modules that might contain a controller
Convert class name to string for 1.8
XSS test for controller nested inside class
added --only-files option to specify specific paths to scan
Set relative path after setting file name
Add tests for Warning#relative_path
Use file name from template info if available
Don't modify Warning#code when running tests
Add a couple fingerprint tests
Fix fingerprint due to 1.8/1.9 diff in Array#to_s
Merge pull request #315 from presidentbeef/deal_with_controller_inside_class

Only treat controllers like controllers
added test for --only-files and --skip-files options
Use options for FindAllCalls#process_source
refactor selecting paths so it works in 1.8.7
Use hash for call locations instead of array
Add more explicit file info to checks
use codeclimate status image replace codeclimate logo
refactor get_options and get_output_format