.gitignore, .htaccess to eliminate index.php from url, start of api controller, master servers model, master servers static config

- basic gitignore
- basic htaccess
- api controller
- master server model
- master server static config (to be replaced by dynamic later)