Mainly changed hash calculation algorithm so leading 0s aren't skipped
anymore. Added annotations instead of faces-config.xml entry. Some small
formatting changes.