Making $input in the constructor optional

If it is null, the Input::all() will be used.