Transaction Taxes and Traders with Heterogeneous Investment Horizons in an Agent-Based Financial Market Model