add all-test script
add phpmd rule(cherry picked from commit 083d19bf0baf99a86eacce072bce3ae9df70dc54)
remove eclipse setting, add IntelliJ setting.