TST: switch i386 build to python3.4 defaulting ubuntu 14.04

to do that fix a missing $DIST variable usage in the test script
Merge pull request #4361 from juliantaylor/py3.4-travis

TST: switch i386 build to python3.4 defaulting ubuntu 14.04
BUG: Fix promote_types, can_cast, as astype issues

- promote_types does not return correct string size for integer and string arguments. Fix so that integer and string types are promoted to string type that is long enough to hold integer type safely cast to string.
- can_cast incorrectly returns True for certain integer and string types. Fix so that can_cast only returns True if string type is long enough to hold integer type safely cast to string.
- calling astype to convert integer to string should fail if string type is not long enough to hold integer converted to string and casting argument is set to "safe".
BUG: Fixed issue 3504, and added tests for complex support
Merge pull request #3984 from ContinuumIO/promote_types_fix

Fix promote_types for strings and numbers
Merge pull request #4336 from Sankarshan-Mudkavi/fix-issue-3504

Fixed issue 3504