Added flexible filename handling for main files

Tasks, handlers, and vars main files must be named "main.yml". This patch allows tasks, handlers, and vars main files to be any of "main", "main.yml", or "main.yaml".

Reference: [Issue #3248](https://github.com/ansible/ansible/issues/3248)