Porting rvmrc over to generic ruby-version setup.
SecEventType no longer has integer PK, uses string lookup. Added tons of indexes on SecEvent.