[cs] fix embedding resources in subdirectories

also, move recursive mkdir from gencpp to common
[java] create directories for resources (hxjava fix required)
[cs] don't generate parenthesis around extern property assignment (closes #2387)
[cs] fixes for Std.is check for Float, Int and UInt (closes #2114)
[js] don't inline Reflect.field because it has try/catch block.

Also, inline Reflect.hasField.
Also, don't create extra var in Reflect.field,.
rev_map constructor inlining initializations so they have the correct order when reversed by the TBlock handler (closes #2455)
fixed js syntax error with extern @:initPackage classes with empty package
use same expected type for or-patterns (closes #2459)
allow multiple structural extension (closes #2364)
Array.indexOf/lastIndexOf (closes #1242)
mention indexOf in CHANGES.txt
Merge pull request #2390 from nadako/2387_extern_prop_assignment

[cs] don't generate parenthesis around extern property assignment (closes #2387)
Merge pull request #2384 from nadako/cs_subdir_resource_fix

[cs,java] fix embedding resources in subdirectories
[cs] merged '[cs] fixes for Std.is check for Float, Int and UInt (closes #2114)'
Merge pull request #2466 from nadako/array_indexof

Array.indexOf/lastIndexOf (closes #1242)
fixed flash version for allowFullScreen (close #2471)
Merge pull request #2453 from nadako/js_reflect

[js] don't inline Reflect.field because it has try/catch block.
do not erase Const flag of expected type when it is initialized to a structure declaration (closes #2467)
keep empty abstract implementation class if it is used (closes #2454)
add tests/optimization