Minor updates  to training/notes

- To make rebuilds faster, add Gemfile and Gemfile.lock before adding everything else.
- If the PostgreSQL database is using `SQL_ASCII` encoding, `db:create` will fail. Therefore, change encoding in `database.yml` to cope regardless of the DB encoding.