Added random category encoder option to sm_sequences

Fixes #9

Added random category encoder option to sm_sequences.
Added gitignore to repository
Updated sm_test_with_pooling script to use it.
Minor cleanup.