Add Action entity

Add actions entity and many-to-many relationship actions-items
Minor changes of id fields (long now Long)