Use context.createSampler to create samplers.

Previously, ImageryLayer was building the object literal manually.

As a bonus, this pull request also fixes some problems in Uri.js that prevented the doc build from completing successfully.