Laravel 4 class to automatically generate validation rules based on table schema