ligolw_encode: Convert ASCII to appropriate LIGO_LW table

- Can handle SimBurst and/or SimInspiral
    - Will create a table for each
- Will fill in values with sensible defaults
    - Handling of ilwdchar defaults are a little wonky
test_encode.sh: Test code for ligolw_encode