Separate cli logic and tests for it

If `bin/jscs` module would contain only declarative part and `lib/cli.js` could be exported, that arguable would make this logic easier to maintain, but primary benefit would be in possibility to test this logic