Fix rake roles and rake role[role_name]

Allow to have either ruby or json files and properly treat them both
+ Also add syntax_check_cache to .gitignore