Fix docstring
Ignore some new Autotools files
Simplify some code

We now that  is not None here, because we set it to
something just before if it was.

So let's drop one indentation level.
Integrate with Transifex.com
i18n: Add zh_TW translation
i18n: Add Hong Kong translation
setup: Make the dialog title translatable
i18n: Refresh the pot file

Commit 69bc021 made the prefs dialog title translatable, but I
forgot to add it to the POTFILES.in file and refresh the pot file.

This fixes this omission.
i18n: Refresh the po files

Turns out that when you change the pot file, you're
supposed to run 'make update-po'.
tests: Check the behaviour detailed in issue #22

https://github.com/bochecha/ibus-cangjie/issues/22
cangjie: clear input box on new keys after an error

fixes #22
Protect against failures to play the error bell

Playing an error sound is a great way to provide feedback to the user
when they make a mistake.

However, it might fail (e.g bug in the sound stack, or due to the
fragility of pycanberra), and it must not crash the engine.
Clear the current input on focus out

When the user switches between application windows or input contexts, we
should just clear the current input and let them start fresh.
Fallback to the IBus.Property.new() constructor

IBus 1.5.x introduced some very nice GI overrides for its classes, which
make the API much more Python-friendly.

I had refrained from using them though, because I wanted to keep the
compatibility with Python 1.4.2 as it is still used on (at least) Ubuntu
13.04 and Debian Sid.

However, when I worked on the IBus.Property stuff, I didn't pay enough
attention and used the overridden constructor, which doesn't exist on
IBus 1.4.2.

This fixes issue #23.
Simplify some code

If we're using the overridden constructor from 1.5, we might as well use
it completely, as it creates the IBus.Text for us.
Really automatically clear on errors

Commit 07c6055 introduced a fix for issue #22, so that we now
automatically clear the current input on a user mistake.

This commit just makes sure we actually always do that.

Specifically, we were missing the case where we had already reached the
maximum input length.

This commit also adds a unit test, to make sure we do not regress in the
future.
Stop bundling pycanberra

It came to my attention that pycanberra is LGPLv2 only, while IBus
Cangjie is LGPLv3+.

The mix of the two, bundled together might be problematic, so to avoid
any issue, dropping our copy of pycanberra is the easiest way out.

The code was already handling errors to play sound anyway (no sound
would be played, so let's generalize that to the case where pycanberra
is just not available.
Work around integer overflow in pygobject on 32 bits systems

This is causing a bug for us, where all input from the user is doubled
on 32 bits systems.

The workaround is not pretty, but it's needed until most distros ship a
fixed version. :(
i18n: Add Mainland China translation
Automatically generate the AUTHORS file

It was inaccurate, as it failed to credit Benau for his past work.

Making it automatically generated at distcheck time ensures this
won't happen again.