added attributes and policy to ECIs when created, getting and setting bo...

Mark, these are the changes I put in place to store attributes and policy on channels and added getters and setters for them. This can be merged in at your convenience. Tests are included.