#1946, 1947 - Make altered names/slugs more user-friendly, make conflict-finding code check filenames with no extensions
- Reduced from four places that alter names/slugs to two (one to populate empty slugs, one to handle conflicting names/slugs).
- For empty slugs, fill with generic human-readable name (e.g. "photo") instead of random value.
- For conflicting names/slugs, add suffix that's sequential (e.g. "-01"), only using random after 99 conflicts.
- Made conflict-finding code check filenames with no extensions.
- Renamed _randomize_name_or_slug_on_conflict to _check_and_fix_conflicts.
- Added unit tests.  Also cleaned up existing unit tests to reflect new logic and removed a redundant test.
- Added installer logic to correct existing items now considered in conflict.
Automated update of .build_number to 290 for branch master
Last update: 31807a59a5160a816718fbea1b1659398a2110bb (13 commits ago)
Merge branch 'fix_1946_1947' of git://github.com/shadlaws/gallery3
Properly escape backslashes.  Fixes #1962.
Use SERVER_NAME instead of HTTP_HOST.  Fixes #1963.
Merge branch 'master' into 3.0.x