Use the bitflags macro where appropriate

Some of our enums weren't supposed to be enums at all since their values could
be mixed and matched.

This replaces `FontFlags` and `KeyPressFlag` enums with `bitflags!` macros.
These define values that can be joined together.

This is a breaking change. You should change code like this:

    Console::set_custom_font(font_path, &[LayoutTcod, TypeGreyscale])

to:

    Console::set_custom_font(font_path, FONT_LAYOUT_TCOD | FONT_TYPE_GREYSCALE);

And:

    Console::check_for_keypress(KeyPressedOrReleased);

to:

    Console::check_for_keypress(KEY_PRESSED | KEY_RELEASED);

(or any other combination you need)

Closes #40
Bump the version to 0.3.0
Convert tabs to spaces in example1
Move the character using cursor keys in example1
Rename example1 to keyboard

Closes #3
Add example showing text output & alignment

Closes #2
Merge pull request #43 from tomassedovic/moar-examples

Moar examples
Merge pull request #42 from tomassedovic/fix-40-bitflags

Use the bitflags macro where appropriate
Update to Rust master

Test are broken with a regression that crashes the compiler on an
unboxed closure which captures some environment:

https://github.com/rust-lang/rust/issues/17257

As this only happens with debuginfo on, this temporarily disables it for
dev & test. This should make Travis happy again.
Merge pull request #44 from tomassedovic/fix-rust-master

Update to Rust master
Derive implicit Copy trait for type BackgroundFlag and TextAlignment.

Fixing compiler error in latest nightly.
Merge pull request #46 from Moredread/master

Fix compiler error in latest nightly: Derive implicit Copy trait for type BackgroundFlag and TextAlignment.
Add more Copy implementations

Seems safe to just opt-in to Copy for everything without a destructor here.
Update to rust master

The `bitflags` macro didn't initially add a Copy impl so we had to do
that manually. Now it does and it was conflicting with the our explicit
implementation.
Merge pull request #47 from tomassedovic/bitflags-build-fix

Update to rust master
Instruct Mac OS users to switch to the 1.5.x branch

The default `hg` checkout of libtcod uses the 1.6.0 version, which is
we're currently not compatible with.
Merge pull request #48 from tomassedovic/set-libtcod-version

Instruct Mac OS users to switch to the 1.5.x branch
Fix warnings for shadowed lifetimes
Merge pull request #49 from pmsanford/fix-shadowed-lifetime-warnings

Fix warnings for shadowed lifetimes
Remove the top-level build script

To make sure we're not using it by accident while figuring out how to do it with
the Rust-based build scripts.