update mapdirective
- make it restricted:'E'
- move it to directives folder
- add assertInstanceof
Merge pull request #6 from fgravin/mapDirective

update mapdirective