Moving custom ecto types to global folder with contexts. Added some missing copyright headers.
!2616 (comment 61715)