Update coder.py

Move the writing of extra_source codes(i.e. initializer, looper) after the variable declarations so the variables could be used.
Merge branch 'pr/40' ino next
Minor hotfix release to re-order generated code.
Merge remote-tracking branch 'origin/master'

Conflicts:
	CHANGELOG.rst
	README.rst
Remove deprecated reset command for VIs.
Add factor/offset attributes to diagnostic messages in firmware config.
Use new diagnostic message functions in generated code.
Hide misleading "None" in log output when message has no name.
Allow CAN messages in generate code with no handlers or signals.

This is required for filtered raw output.

Fixed #42.
Allow message frequencies less than 1.
Merge branch 'next' into diagnostics
Allow frequencies less than 1Hz for diagnostic requests.
Merge branch 'diagnostics' into diag-cc

Conflicts:
	openxc/controllers/base.py
	openxc/controllers/usb.py
	openxc/sources/usb.py