About components: I use 2N4401 and 2N4403
transistors. The circuits presented here will work with most any
"small signal" transistor. For example, substitutes for the 4401 are
2N2222, 2N3904, NTE123AP, and those are just the ones I'm used to
working with. The drawings use "standard" symbols; I include a table
here because my "standard" is from instrumentation and may not be the same as the
"standard". from an electronics school or a project book. Any resistor not marked is 2200 ohms, 1/4 watt. Any diode
not marked is a 1N914.
Now, some basic "logic" circuits: First up is a memory circuit, to the
left; a flip-flop. It has two inputs; operate one, "SET" and the
output turns on. Operate the other, "RESET" and the output turns
off. Either element may be used as the output, hence the LEDs on both
sides. If both are used, the two outputs oppose each other. 
By itself, another interesting but not particularly useful circuit. But, let's
combine it with the Flip Flop. With the F-F outputs
connected to the control inputs of the bridge amp, we have a motor
reversing circuit. Press a button and it drives in one direction.
Press the other button, it drives the other way. Six transistors and
four resistors; why do we need an IC for that?
So maybe you have half a dozen of these stall motors at the
throat of a yard and want to use one pushbutton per track to set up all
the turnouts. That's called "route control" and is another of the
reasons behind this circuit way back when. Study the drawing and you'll see that push buttons and matrix
diodes are both connected to the same point, allowing individual manual control and automatic route selection.
But for now, how about some
detection? A simple, two transistor circuit that will take several
photo sensitive resistors. Use them in series. With my circuit boards,
I have tested up to four within a 10% range and they worked perfectly.
This gizmo is an oscillator. In this case we can call it
a flasher because it runs so slow, one cycle in a second.and a half . The
lower LED will stay lit whenever power is on. We get away with one
resistor because the LEDs don't really operate in parallel. One side
flashes, the other side is off. Then it swaps. With only one lit at
any time, current will be the same for either. If you want crossbucks on both
sides of the track, duplicate the LED circuit in parallel, or put the
LEDs in series.
This oscillator is essentially the same circuit; the
difference being the extra components to accomodate external control.
When power is first applied, the flasher sort of stumbles for the first few
flashes. The simplest solution is to keep the flasher running all
the time. The 5K resistors keep the flasher "loaded", somewhere for
the current to flow. The other solution was a much more complex
circuit, something I try to avoid.
Now, here as promised is a Tortoise(R) actuator circuit that requires the "H"
bridge. Why? Look closely at the circuit; there's only one input.
The NPN at the lower right functions as an inverter. When the input is
open, this transistor is conducting, holding the "load", the base of
the right side of the bridge low. The left side of the bridge is high,
through the pull-up resistor. The motor drives one way and stalls.
Ground the input, the transistor stops conducting and the right side of
the bridge goes high from the "pull up". The left side is low of course, it's grounded.
The motor drives the other way. Now, this is useful.....

A good example of this is "constant lighting" for a locomotive. Two diodes in series will provide a 1.4 volt tap in the motor circuit for a low voltage (1.5v) headlight. But, it only works in one direction; reversed, the motor won't run. So, we add another diode in parallel, in the opposite direction. This has the added effect of providing half voltage when the loco is in reverse. A common practice in 12 inch / foot scale railroading..... I do recommend you use diodes suited to the size of the motor. 1N4004's won't handle the current of some larger scale locomotive motors.
The technique isn't limited to constant lighting. By using a "ballast lamp" across the power supply and placing the diodes in series with the circuit, voltage can be regulated to operate a number of lamps such as shown here. Depending on the end use, the circuit may be a combination of series and parallel. This is quite useful for lighting a large number of lamps such as street lights and building lights in a city scene. The ballast lamp could serve double duty as a "foot light" below the layout. Depending on the number of diodes, the lamp may have no more than a dim glow.
Now the good part; let's "short circuit" proof your track circuit. Most of the lamps listed are automotive numbers and should be available at any well stocked auto parts supplier. The funny looking symbol on either side of the motor indicates the track to wheel connection.