Templates for Entityx System and Component.

Against Entityx 1.0 branch.