Encapsulate tools/profile functionality in CodeTools::Profiler

Fix bug in path expansion of input filepath

[ci skip]
Optionally add String extensions for ruby-prof printer option

[ci skip]
Fail profiler fast when input is not a ruby file

[ci skip]
Encapsulate rake lines from ActiveRecord/ActionPack as CodeTools::LineStatistics

[ci skip]