New pycparser based header2miml.py

Understands the following funciton attributes:
__attribute__((miml(init)))
__attribute__((miml(final)))
__attribute__((miml(sender)))
__attribute__((miml(receiver)))
Changed miml init/final format, event loop template
Added python logger based error logging to codeGen