Make word size a property of memory components (issue #2).

The generated HDL still needs updating.