DERBY-6075: Use modern collections in impl/sql/compile

- Use ArrayList instead of Vector in ColumnOrdering and RowOrderingImpl

- Use ReuseFactory to allocate Integer instances for table number and
  column number

- Use library methods List.contains() and List.isEmpty()

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1451125 13f79535-47bb-0310-9956-ffa450edef68